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 c62b3b4 commit 61d4896Copy full SHA for 61d4896
.github/workflows/nightly-release.yaml
@@ -11,11 +11,13 @@ jobs:
11
- name: Checkout repository
12
uses: actions/checkout@v2
13
- name: Login into GitHub Container Registry
14
- run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
+ run: echo ${{ secrets.CR_PAT }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
15
- name: Build Docker image
16
run: |
17
docker build \
18
-t "ghcr.io/${GITHUB_REPOSITORY}:${GITHUB_SHA:0:7}" \
19
-t "ghcr.io/${GITHUB_REPOSITORY}:nightly" .
20
- name: Release Docker image
21
- run: docker push "ghcr.io/${GITHUB_REPOSITORY}"
+ run: |
22
+ docker push "ghcr.io/${GITHUB_REPOSITORY}:${GITHUB_SHA:0:7}"
23
+ docker push "ghcr.io/${GITHUB_REPOSITORY}:nightly"
0 commit comments