1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 13:19:39 +02:00

Full commit sha

This commit is contained in:
Zach Gollwitzer 2024-05-07 09:34:54 -04:00
parent 62b7ada5e2
commit 1c2950462f

View file

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