Skip to content

Commit 61d4896

Browse files
authored
ci: update nightly release
1 parent c62b3b4 commit 61d4896

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/nightly-release.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ jobs:
1111
- name: Checkout repository
1212
uses: actions/checkout@v2
1313
- name: Login into GitHub Container Registry
14-
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
14+
run: echo ${{ secrets.CR_PAT }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
1515
- name: Build Docker image
1616
run: |
1717
docker build \
1818
-t "ghcr.io/${GITHUB_REPOSITORY}:${GITHUB_SHA:0:7}" \
1919
-t "ghcr.io/${GITHUB_REPOSITORY}:nightly" .
2020
- name: Release Docker image
21-
run: docker push "ghcr.io/${GITHUB_REPOSITORY}"
21+
run: |
22+
docker push "ghcr.io/${GITHUB_REPOSITORY}:${GITHUB_SHA:0:7}"
23+
docker push "ghcr.io/${GITHUB_REPOSITORY}:nightly"

0 commit comments

Comments
 (0)