Skip to content

Commit

Permalink
Attempt another fix for container creation, I think I get it now. You…
Browse files Browse the repository at this point in the history
… have to change the event trigger to be tag based for semver to work (and auto tag latest, but I've manually forced it)
  • Loading branch information
othyn committed Nov 18, 2021
1 parent 0cb2664 commit c2740c9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ name: Continuous Deployment

on:
push:
branches: ['release']
tags:
- '*'

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -39,10 +40,8 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
flavor: |
latest=true
prefix=
suffix=
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{raw}}
- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
Expand Down

0 comments on commit c2740c9

Please sign in to comment.