We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 55a0ae7 + 402e7d9 commit 2f529bdCopy full SHA for 2f529bd
.github/workflows/docker.yml
@@ -10,6 +10,15 @@ jobs:
10
name: Push image to dockerhub
11
runs-on: ubuntu-latest
12
steps:
13
+ - name: Docker meta
14
+ id: meta
15
+ uses: docker/metadata-action@v5
16
+ with:
17
+ images:
18
+ ffffuuu/aklapi
19
+ tags: |
20
+ type=raw,label=latest
21
+ type=semver,pattern={{version}}
22
- name: Login to Docker Hub
23
uses: docker/login-action@v3
24
with:
@@ -19,6 +28,5 @@ jobs:
28
uses: docker/build-push-action@v6
29
30
push: true
- tags: |
- ffffuuu/aklapi:latest
- ffffuuu/aklapi:${{ github.ref }}
31
+ tags: ${{ steps.meta.outputs.tags }}
32
+ labels: ${{ steps.meta.outputs.labels }}
0 commit comments