File tree 2 files changed +16
-4
lines changed 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 79
79
mkdir -p oras-install/
80
80
tar -zxf oras_${VERSION}_*.tar.gz -C oras-install/
81
81
oras-install/oras copy ${{ env.FULL_IMAGE_URL }}:${{ env.STATIC_TAG }} ${{ env.FULL_IMAGE_URL }}:${{ env.LATEST_TAG }}
82
+ -
83
+ name : Login to GitHub Container Registry
84
+ uses : docker/login-action@v3
85
+ with :
86
+ registry : ghcr.io
87
+ username : ${{ github.actor }}
88
+ password : ${{ secrets.GITHUB_TOKEN }}
82
89
83
90
- name : Re-tag the image tags to ghcr.io/${{ github.repository_owner }}
84
91
env :
Original file line number Diff line number Diff line change 5
5
tags :
6
6
- ' *'
7
7
8
- env :
9
- IMAGE_REPO : " rancher/kuberlr-kubectl"
10
-
11
8
# GitHub settings / example values:
12
9
#
13
10
# org level vars:
57
54
public-password : ${{ env.DOCKER_PASSWORD || secrets.DOCKER_PASSWORD }}
58
55
59
56
push-to-prime : false
60
-
57
+
58
+ -
59
+ name : Login to GitHub Container Registry
60
+ uses : docker/login-action@v3
61
+ with :
62
+ registry : ghcr.io
63
+ username : ${{ github.actor }}
64
+ password : ${{ secrets.GITHUB_TOKEN }}
65
+
61
66
- name : Re-tag the image to ghcr.io/${{ github.repository_owner }}
62
67
env :
63
68
FULL_IMAGE_URL : ${{ env.PUBLIC_REGISTRY }}/${{ vars.REPO || github.repository_owner }}/${{ vars.IMAGE_NAME || 'kuberlr-kubectl' }}
You can’t perform that action at this time.
0 commit comments