We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 378f7ef + 5ca5c11 commit e4bc251Copy full SHA for e4bc251
.github/workflows/release.yml
@@ -0,0 +1,29 @@
1
+name: Release
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ ghcr:
9
+ name: Publish to GHCR
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - uses: docker/login-action@v3
14
+ with:
15
+ registry: ghcr.io
16
+ username: ${{ github.actor }}
17
+ password: ${{ secrets.GITHUB_TOKEN }}
18
+ - uses: docker/setup-qemu-action@v3
19
+ - uses: docker/setup-buildx-action@v3
20
+ - uses: docker/build-push-action@v5
21
22
+ push: true
23
+ target: web
24
+ platforms: linux/amd64,linux/arm64/v8
25
+ cache-from: type=gha
26
+ cache-to: type=gha,mode=max
27
+ tags: |
28
+ ghcr.io/stackmasters/node-sample:${{ github.event.release.name }}
29
+ ghcr.io/stackmasters/node-sample:latest
0 commit comments