Skip to content

Commit

Permalink
added docker run in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Comarov committed May 4, 2024
1 parent 5abf2eb commit 3ece286
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/docker-build-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,13 @@ jobs:
uses: docker/build-push-action@v5
with:
push: true
tags: iliusa77/hello-world-python:${{ inputs.docker_tag }}
tags: iliusa77/hello-world-python:${{ inputs.docker_tag }}
-
name: Run
uses: addnab/docker-run-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
registry: docker.io
image: iliusa77/hello-world-python:${{ inputs.docker_tag }}
run: curl localhost:8080

0 comments on commit 3ece286

Please sign in to comment.