File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 35
35
- name : Sleep while npm takes its time
36
36
run : sleep 20
37
37
- name : GitHub Container Registry Login
38
- run : echo ${GH_TOKEN} | docker login ghcr.io -u ionitron --password-stdin
39
- env :
40
- GH_TOKEN : ${{ secrets.GH_TOKEN }}
38
+ run : echo ${{ github.token }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
41
39
- name : Build Container
42
40
run : |
43
41
docker build \
Original file line number Diff line number Diff line change 14
14
with :
15
15
fetch-depth : 0
16
16
- name : GitHub Container Registry Login
17
- run : echo ${GH_TOKEN} | docker login ghcr.io -u ionitron --password-stdin
18
- env :
19
- GH_TOKEN : ${{ secrets.GH_TOKEN }}
20
-
17
+ run : echo ${{ github.token }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
21
18
- name : Build Container
22
19
run : |
23
20
docker build \
28
25
- name : Push Container as latest
29
26
run : docker push ghcr.io/${{ github.repository }}:latest
30
27
- name : Push Container as version
31
- run : docker push ghcr.io/${{ github.repository }}:$(npm info @ionic/cli dist-tags.latest)
28
+ run : docker push ghcr.io/${{ github.repository }}:$(npm info @ionic/cli dist-tags.latest)
You can’t perform that action at this time.
0 commit comments