Skip to content

Commit

Permalink
add gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
targoninc-alex committed May 27, 2024
1 parent a226ff8 commit d6a7de4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ jobs:
uses: docker/build-push-action@v4
with:
context: .
file: DOCKERFILE
file: Dockerfile
push: false
tags: ${{ secrets.REGISTRY_HOST }}/${{ steps.reponame.outputs.value }}:latest, ${{ secrets.REGISTRY_HOST }}/${{ steps.reponame.outputs.value }}:${{ github.run_number }}

- name: Push Docker image to registry
uses: docker/build-push-action@v4
with:
context: .
file: DOCKERFILE
file: Dockerfile
push: true
tags: ${{ secrets.REGISTRY_HOST }}/${{ steps.reponame.outputs.value }}:latest, ${{ secrets.REGISTRY_HOST }}/${{ steps.reponame.outputs.value }}:${{ github.run_number }}

0 comments on commit d6a7de4

Please sign in to comment.