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:
29
29
needs : image
30
30
steps :
31
31
- 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 }}
37
32
- uses : devcontainers/ci@v0.2
38
33
env :
39
34
CRYPTEIA_VERSION : ${{ github.event.inputs.version }}
35
+ DOCKER_LOGIN_PAT : ${{ secrets.PUBLIC_GITHUB_TOKEN_PACKAGES }}
40
36
with :
41
37
push : never
42
38
cacheFrom : ghcr.io/customink/crypteia-ci
43
39
env : |
44
40
CRYPTEIA_VERSION
41
+ DOCKER_LOGIN_PAT
45
42
runCmd : ./package/deploy-image-debian
46
43
amzn :
47
44
name : AmazonLinux2 x86_64/arm64
48
45
runs-on : ubuntu-20.04
49
46
needs : image
50
47
steps :
51
48
- 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 }}
57
49
- uses : devcontainers/ci@v0.2
58
50
env :
59
51
CRYPTEIA_VERSION : ${{ github.event.inputs.version }}
52
+ DOCKER_LOGIN_PAT : ${{ secrets.PUBLIC_GITHUB_TOKEN_PACKAGES }}
60
53
with :
61
54
push : never
62
55
cacheFrom : ghcr.io/customink/crypteia-ci
63
56
env : |
64
57
CRYPTEIA_VERSION
58
+ DOCKER_LOGIN_PAT
65
59
runCmd : ./package/deploy-image-amzn
66
60
release :
67
61
name : Create Release
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ if [ -z "${CRYPTEIA_VERSION}" ]; then
6
6
exit 1
7
7
fi
8
8
9
+ echo $DOCKER_LOGIN_PAT | docker login ghcr.io -u " cink-continuous-integration" --password-stdin
10
+
9
11
./amzn/setup
10
12
docker build \
11
13
--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
6
6
exit 1
7
7
fi
8
8
9
+ echo $DOCKER_LOGIN_PAT | docker login ghcr.io -u " cink-continuous-integration" --password-stdin
10
+
9
11
./bin/setup
10
12
docker build \
11
13
--tag " ghcr.io/customink/crypteia-extension-debian-amd64:${CRYPTEIA_VERSION} " \
@@ -22,3 +24,5 @@ docker manifest create \
22
24
" ghcr.io/customink/crypteia-extension-debian:${CRYPTEIA_VERSION} " \
23
25
--amend " ghcr.io/customink/crypteia-extension-debian-amd64:${CRYPTEIA_VERSION} " \
24
26
--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