File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -29,39 +29,33 @@ jobs:
2929 needs : image
3030 steps :
3131 - uses : actions/checkout@v3
32- - uses : docker/login-action@v2
33- with :
34- registry : ghcr.io
35- username : cink-continuous-integration
36- password : ${{ secrets.PUBLIC_GITHUB_TOKEN_PACKAGES }}
3732 - uses : devcontainers/ci@v0.2
3833 env :
3934 CRYPTEIA_VERSION : ${{ github.event.inputs.version }}
35+ DOCKER_LOGIN_PAT : ${{ secrets.PUBLIC_GITHUB_TOKEN_PACKAGES }}
4036 with :
4137 push : never
4238 cacheFrom : ghcr.io/customink/crypteia-ci
4339 env : |
4440 CRYPTEIA_VERSION
41+ DOCKER_LOGIN_PAT
4542 runCmd : ./package/deploy-image-debian
4643 amzn :
4744 name : AmazonLinux2 x86_64/arm64
4845 runs-on : ubuntu-20.04
4946 needs : image
5047 steps :
5148 - uses : actions/checkout@v3
52- - uses : docker/login-action@v2
53- with :
54- registry : ghcr.io
55- username : cink-continuous-integration
56- password : ${{ secrets.PUBLIC_GITHUB_TOKEN_PACKAGES }}
5749 - uses : devcontainers/ci@v0.2
5850 env :
5951 CRYPTEIA_VERSION : ${{ github.event.inputs.version }}
52+ DOCKER_LOGIN_PAT : ${{ secrets.PUBLIC_GITHUB_TOKEN_PACKAGES }}
6053 with :
6154 push : never
6255 cacheFrom : ghcr.io/customink/crypteia-ci
6356 env : |
6457 CRYPTEIA_VERSION
58+ DOCKER_LOGIN_PAT
6559 runCmd : ./package/deploy-image-amzn
6660 release :
6761 name : Create Release
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ if [ -z "${CRYPTEIA_VERSION}" ]; then
66 exit 1
77fi
88
9+ echo $DOCKER_LOGIN_PAT | docker login ghcr.io -u " cink-continuous-integration" --password-stdin
10+
911./amzn/setup
1012docker build \
1113 --tag " ghcr.io/customink/crypteia-extension-amzn-amd64:${CRYPTEIA_VERSION} " \
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ if [ -z "${CRYPTEIA_VERSION}" ]; then
66 exit 1
77fi
88
9+ echo $DOCKER_LOGIN_PAT | docker login ghcr.io -u " cink-continuous-integration" --password-stdin
10+
911./bin/setup
1012docker build \
1113 --tag " ghcr.io/customink/crypteia-extension-debian-amd64:${CRYPTEIA_VERSION} " \
@@ -22,3 +24,5 @@ docker manifest create \
2224 " ghcr.io/customink/crypteia-extension-debian:${CRYPTEIA_VERSION} " \
2325 --amend " ghcr.io/customink/crypteia-extension-debian-amd64:${CRYPTEIA_VERSION} " \
2426 --amend " ghcr.io/customink/crypteia-extension-debian-arm64:${CRYPTEIA_VERSION} "
27+
28+ DOCKER_LOGIN_PAT: ${{ secrets.PUBLIC_GITHUB_TOKEN_PACKAGES } }
You can’t perform that action at this time.
0 commit comments