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.
1 parent 33bcc82 commit d54fea7Copy full SHA for d54fea7
.github/workflows/docker.yml
@@ -0,0 +1,29 @@
1
+name: docker
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - '*'
7
8
+jobs:
9
+ main:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Set up QEMU
13
+ uses: docker/setup-qemu-action@v1
14
+ - name: Set up Docker Buildx
15
+ uses: docker/setup-buildx-action@v1
16
+ - name: Login to GCHR
17
+ uses: docker/login-action@v1
18
+ with:
19
+ registry: ghcr.io
20
+ username: void-robot
21
+ password: ${{ secrets.CR_PAT }}
22
+ - name: Set version
23
+ run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
24
+ - name: Build and push
25
+ id: docker_build
26
+ uses: docker/build-push-action@v2
27
28
+ push: true
29
+ tags: "ghcr.io/${{ github.repository }}:${{ env.RELEASE_VERSION }}"
0 commit comments