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 6b84065 commit 1ff5efeCopy full SHA for 1ff5efe
.github/workflows/docker-master.yml
@@ -0,0 +1,30 @@
1
+name: Nightly Docker Build
2
+on:
3
+ schedule:
4
+ - cron: "0 3 * * *"
5
+ workflow_dispatch: # allows manual trigger
6
+permissions:
7
+ contents: read
8
+ packages: write
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-24.04
12
+ steps:
13
+ - name: Checkout repository
14
+ uses: actions/checkout@v3
15
+
16
+ - name: Log in to GHCR
17
+ uses: docker/login-action@v2
18
+ with:
19
+ registry: ghcr.io
20
+ username: ${{ github.actor }}
21
+ password: ${{ secrets.GITHUB_TOKEN }}
22
23
+ - name: Build and push multi-platform image
24
+ run: |
25
+ docker buildx build \
26
+ --platform linux/amd64,linux/arm64 \
27
+ --push \
28
+ -t ghcr.io/gufolabs/noc:master \
29
+ --target code \
30
+ .
0 commit comments