Skip to content

Commit

Permalink
handle master properly
Browse files Browse the repository at this point in the history
  • Loading branch information
ober committed Sep 21, 2023
1 parent c6d50dc commit 549a6ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: List of all Github Actions env vars
run: env
- name: Build the Docker image
run: make -C docker ${{ matrix.docker-image }} REPO="${{ github.repository }}" BRANCH="${{ github.head_ref }}"
run: make -C docker ${{ matrix.docker-image }} REPO=${{ github.repository }} BRANCH=${{ github.head_ref || github.ref_name }}
- name: Push to Docker Hub on Pushes to master
run: |
docker login -u gerbil -p ${{ secrets.DOCKER_TOKEN }}
Expand Down

0 comments on commit 549a6ac

Please sign in to comment.