Skip to content

Commit

Permalink
fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
thloyi committed Jun 24, 2024
1 parent db65ad2 commit 001b6a2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: ghcr.io/${{ github.repository }}
tags: |
type=ref,event=tag
type=sha,prefix=commit-
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand All @@ -27,4 +35,4 @@ jobs:
with:
context: .
push: true
tags: ghcr.io/${{ github.repository }}:${{ github.ref#refs/tags/ }}
tags: ${{ steps.meta.outputs.tags }}

0 comments on commit 001b6a2

Please sign in to comment.