Skip to content

Commit

Permalink
Try fix docker action
Browse files Browse the repository at this point in the history
  • Loading branch information
b4l committed Jan 27, 2022
1 parent 0545672 commit f257013
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
tags:
- 'v*'
- 'int*'
- 'prod*'
branches:
- 'main'

Expand All @@ -19,6 +21,10 @@ jobs:
uses: docker/metadata-action@v3
with:
images: camptocamp/abbreviator
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=match,pattern=int|prod
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand All @@ -37,6 +43,3 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Inspect
run: docker image inspect camptocamp/abbreviator:latest

0 comments on commit f257013

Please sign in to comment.