Skip to content

Commit

Permalink
docker: add more tags
Browse files Browse the repository at this point in the history
  • Loading branch information
aiooss-anssi committed Jan 9, 2024
1 parent 77fd65d commit 8e4c892
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches:
- 'main'
- 'dev'
tags:
- '*'

jobs:
push_to_registry:
Expand All @@ -29,6 +31,10 @@ jobs:
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ${{ matrix.image }}
tags: |
type=ref,event=branch
type=ref,event=tag
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push Docker image
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
Expand Down

0 comments on commit 8e4c892

Please sign in to comment.