Skip to content

Commit

Permalink
Merge pull request #15 from rusq/dockerhub-fix1
Browse files Browse the repository at this point in the history
smort dickerhub GHA
  • Loading branch information
rusq authored Jul 9, 2024
2 parents 55a0ae7 + 402e7d9 commit 2f529bd
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ jobs:
name: Push image to dockerhub
runs-on: ubuntu-latest
steps:
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images:
ffffuuu/aklapi
tags: |
type=raw,label=latest
type=semver,pattern={{version}}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand All @@ -19,6 +28,5 @@ jobs:
uses: docker/build-push-action@v6
with:
push: true
tags: |
ffffuuu/aklapi:latest
ffffuuu/aklapi:${{ github.ref }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 2f529bd

Please sign in to comment.