Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Full commit sha

Zach Gollwitzer1c2950462fac
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 3a1c375d..c43ddeff 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -66,9 +66,11 @@ jobs:
name: Build docker image
runs-on: ubuntu-latest
needs: [ test ]
+
permissions:
contents: read
packages: write
+
steps:
- name: Check out the repo
uses: actions/checkout@v4
@@ -91,10 +93,8 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
flavor: latest=auto
tags: |
- # Explicit commit sha and version tags
- type=sha
+ type=sha,format=long
type=semver,pattern={{version}}
- # Aliases
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
type=raw,value=stable,enable=${{ startsWith(github.ref, 'refs/tags/v') }}