Skip to content

Commit

Permalink
Update docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
J-Ttt authored Oct 6, 2023
1 parent f82c926 commit 9819fe8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,10 @@ jobs:
- uses: actions/checkout@v3
- run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- run: docker buildx create --use
- name: Extract branch name
run: echo "GITHUB_BRANCH=$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//-/g')" >> $GITHUB_ENV
- name: Print env variables for debugging
run: |
echo GITHUB_BRANCH=$GITHUB_BRANCH
echo GITHUB_REPOSITORY=$GITHUB_REPOSITORY
- run: docker buildx bake --progress=plain --push

0 comments on commit 9819fe8

Please sign in to comment.