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 728e1bf commit 5c174f5Copy full SHA for 5c174f5
1 file changed
.github/workflows/container.yml
@@ -7,6 +7,11 @@ on:
7
branches:
8
- main
9
10
+env:
11
+ REGISTRY: ghcr.io
12
+ # This has to be lowercase
13
+ IMAGE_NAME: asahilinux/mkdocs-asahi
14
+
15
jobs:
16
build-and-push:
17
runs-on: ubuntu-latest
@@ -18,7 +23,7 @@ jobs:
18
23
uses: docker/login-action@v3
19
24
if: github.event_name != 'pull_request'
20
25
with:
21
- registry: ghcr.io
26
+ registry: ${{ env.REGISTRY }}
22
27
username: ${{ github.actor }}
28
password: ${{ secrets.GITHUB_TOKEN }}
29
- name: Setup Docker Buildx
@@ -27,7 +32,7 @@ jobs:
32
uses: docker/build-push-action@v6
33
34
platforms: linux/amd64,linux/arm64
30
- tags: ghcr.io/AsahiLinux/mkdocs-asahi:latest
35
+ tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
31
36
push: ${{ github.event_name != 'pull_request' }}
37
cache-from: type=gha
38
cache-to: type=gha,mode=max
0 commit comments