Skip to content

Commit

Permalink
Fix tag names
Browse files Browse the repository at this point in the history
(cherry picked from commit adbd652)
  • Loading branch information
tech-6 committed Nov 30, 2024
1 parent 6677978 commit 3fc1ced
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,17 @@ jobs:
username: "${{ secrets.DOCKERHUB_USERNAME }}"
password: "${{ secrets.DOCKERHUB_TOKEN }}"

- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch

- name: "Build and push"
id: docker_build
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: |
technicolorlabs/reposilite-liberica-testing:${{ github.ref_name }}
technicolorlabs/reposilite-liberica-testing:${{ steps.extract_branch.outputs.branch }}

0 comments on commit 3fc1ced

Please sign in to comment.