Mirror from bluesky-social/pds

github action semver

+5 -6
+5 -6
.github/workflows/build-and-push-ghcr.yaml
··· 36 36 37 37 - name: Extract Docker metadata 38 38 id: meta 39 - uses: docker/metadata-action@v4 39 + uses: docker/metadata-action@v5 40 40 with: 41 41 images: | 42 42 ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} 43 43 tags: | 44 - type=semver,enable=true,priority=90,pattern={{major}}.{{minor}} 45 - type=sha,enable=true,priority=100,suffix=,format=long 44 + type=semver,pattern={{version}} 45 + type=semver,pattern={{major}}.{{minor}} 46 + type=sha,format=long 46 47 47 48 - name: Build and push Docker image 48 49 id: build-and-push ··· 52 53 push: ${{ github.event_name != 'pull_request' }} 53 54 platforms: linux/amd64,linux/arm64 54 55 file: ./Dockerfile 55 - tags: | 56 - ghcr.io/bluesky-social/pds:latest 57 - ${{ steps.meta.outputs.tags }} 56 + tags: ${{ steps.meta.outputs.tags }} 58 57 labels: ${{ steps.meta.outputs.labels }} 59 58 cache-from: type=gha 60 59 cache-to: type=gha,mode=max