Skip to content

Commit

Permalink
ci: use docker/metadata-action
Browse files Browse the repository at this point in the history
  • Loading branch information
ludovicm67 committed Dec 5, 2023
1 parent af66347 commit bfdd8c0
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,19 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Docker meta
uses: zazuko/action-docker-meta@main
id: docker_meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/zazuko/trifid,zazuko/trifid
strip-tag-prefix: "trifid@"
images: |
ghcr.io/zazuko/trifid
zazuko/trifid
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=branch
type=semver,prefix=trifid@,pattern={{version}}
type=semver,prefix=trifid@,pattern={{major}}.{{minor}}
type=semver,prefix=trifid@,pattern={{major}}
type=sha
- name: Build and push Docker images
id: docker_build
Expand Down

0 comments on commit bfdd8c0

Please sign in to comment.