Skip to content

Commit

Permalink
Update build-n-push-main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniotarricone authored Oct 18, 2023
1 parent 578e559 commit 522ea3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-n-push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
#
- name: Build Docker image
run: |
BRANCH_NAME=${GITHUB_REF////_}"
BRANCH_NAME="${GITHUB_REF////_}"
docker build -f src/main/docker/Dockerfile.native-micro -t ghcr.io/${{ github.repository }}:$BRANCH_NAME .
#
Expand All @@ -106,4 +106,4 @@ jobs:
- name: Push Docker image
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
docker push -a ghcr.io/${{ github.repository }}
docker push -a ghcr.io/${{ github.repository }}

0 comments on commit 522ea3e

Please sign in to comment.