Skip to content

Commit

Permalink
fix: publish docker
Browse files Browse the repository at this point in the history
  • Loading branch information
adeherysh authored Apr 18, 2024
1 parent dea1484 commit d79886b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,12 @@ jobs:
if: ${{ steps.release.outputs.release_created }}

- name: Docker meta
id: docker_meta
id: meta
uses: docker/metadata-action@v5
with:
images: kitabisa/smockr
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=ref,event=branch
type=sha
if: ${{ steps.release.outputs.release_created }}

Expand All @@ -77,8 +75,8 @@ jobs:
with:
context: .
push: true
tags: kitabisa/smockr:latest
labels: ${{ steps.docker_meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
if: ${{ steps.release.outputs.release_created }}

0 comments on commit d79886b

Please sign in to comment.