Skip to content

Commit

Permalink
fix: ci docker publish
Browse files Browse the repository at this point in the history
  • Loading branch information
adeherysh authored Apr 18, 2024
1 parent 49fe2e7 commit 991eafc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,22 @@ jobs:
if: ${{ steps.release.outputs.release_created }}

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
if: ${{ steps.release.outputs.release_created }}

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

- name: Cache Docker layers
Expand Down

0 comments on commit 991eafc

Please sign in to comment.