We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ab15c4 commit ccf5383Copy full SHA for ccf5383
1 file changed
.github/workflows/docker.yml
@@ -0,0 +1,33 @@
1
+name: Publish Docker image
2
+on:
3
+ push:
4
+ tags:
5
+ - 'docker-v*.*.*'
6
+jobs:
7
+ push_to_registry:
8
+ name: Push Docker image to GitHub Packages
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ -
12
+ name: Check out the repo
13
+ uses: actions/checkout@v6
14
15
+ name: Docker meta
16
+ id: docker_meta
17
+ uses: docker/metadata-action@v5
18
+ with:
19
+ images: ghcr.io/yoshinorin/docker-buzzard
20
21
+ name: Login to GHCR
22
+ uses: docker/login-action@v3
23
24
+ registry: ghcr.io
25
+ username: ${{ github.actor }}
26
+ password: ${{ secrets.GITHUB_TOKEN }}
27
28
+ name: Push to GitHub Packages
29
+ uses: docker/build-push-action@v6
30
31
+ context: ./docker
32
+ push: true
33
+ tags: ${{ steps.docker_meta.outputs.tags }}
0 commit comments