Skip to content

Commit

Permalink
test pass secret to docker from github action
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaconsalvi committed Aug 16, 2024
1 parent f99fbfa commit 421b927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-n-push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: RELEASE CANDIDATE - Build jar and Docker image
run: |
docker build \
--secret id=my_user,src="test" \
--secret id=my_user,src=${{ secrets.GIT_USER }} \
-f src/main/docker/Dockerfile.multistage \
-t ghcr.io/${{ github.repository }}:${{ github.head_ref || github.ref_name }} \
.
Expand Down

0 comments on commit 421b927

Please sign in to comment.