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 e9cf576 commit db80e08Copy full SHA for db80e08
1 file changed
.github/workflows/docker.yaml
@@ -0,0 +1,32 @@
1
+name: Docker image release
2
+
3
+"on":
4
+ push:
5
+ tags:
6
+ - "*"
7
8
+permissions:
9
+ contents: read
10
11
+jobs:
12
+ release:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v4
16
17
+ - name: Set up Docker Buildx
18
+ uses: docker/setup-buildx-action@v3
19
20
+ - name: Log in to NGC
21
+ uses: docker/login-action@v3
22
+ with:
23
+ registry: nvcr.io
24
+ username: $oauthtoken
25
+ password: ${{ secrets.NVAPI_KEY }}
26
27
+ - name: Build and push image
28
+ shell: bash
29
+ run: |
30
+ ./scripts/build-docker.sh \
31
+ --tag "nvcr.io/nvstaging/lepton/gpud:${GITHUB_REF_NAME#v}" \
32
+ --push
0 commit comments