tangled
alpha
login
or
join now
vicwalker.dev.br
/
pds-mirror
0
fork
atom
Mirror from bluesky-social/pds
0
fork
atom
overview
issues
pulls
pipelines
github action semver
Jake Gold
2 years ago
84939aff
45b1a0fe
+5
-6
1 changed file
expand all
collapse all
unified
split
.github
workflows
build-and-push-ghcr.yaml
+5
-6
.github/workflows/build-and-push-ghcr.yaml
···
36
36
37
37
- name: Extract Docker metadata
38
38
id: meta
39
39
-
uses: docker/metadata-action@v4
39
39
+
uses: docker/metadata-action@v5
40
40
with:
41
41
images: |
42
42
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
43
43
tags: |
44
44
-
type=semver,enable=true,priority=90,pattern={{major}}.{{minor}}
45
45
-
type=sha,enable=true,priority=100,suffix=,format=long
44
44
+
type=semver,pattern={{version}}
45
45
+
type=semver,pattern={{major}}.{{minor}}
46
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
55
-
tags: |
56
56
-
ghcr.io/bluesky-social/pds:latest
57
57
-
${{ steps.meta.outputs.tags }}
56
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