File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 13
13
env :
14
14
# Use docker.io for Docker Hub if empty
15
15
REGISTRY : ghcr.io
16
- # github.repository as <account>/<repo>
17
- IMAGE_NAME : ${{ github.repository }}
18
16
19
17
concurrency :
20
18
group : ${{ github.workflow }}-${{ github.ref }}
36
34
steps :
37
35
- name : Checkout repository
38
36
uses : actions/checkout@v4
37
+
38
+ - name : Convert image name to lowercase
39
+ run : |
40
+ GITHUB_REPOSITORY="${{ github.repository }}"
41
+ echo "IMAGE_NAME=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
39
42
40
43
# Set up BuildKit Docker container builder to be able to build
41
44
# multi-platform images and export cache
@@ -103,6 +106,10 @@ jobs:
103
106
permissions :
104
107
packages : write
105
108
steps :
109
+ - name : Convert image name to lowercase
110
+ run : |
111
+ GITHUB_REPOSITORY="${{ github.repository }}"
112
+ echo "IMAGE_NAME=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
106
113
- name : Download digests
107
114
uses : actions/download-artifact@v3
108
115
with :
@@ -128,4 +135,4 @@ jobs:
128
135
$(printf '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@sha256:%s ' *)
129
136
- name : Inspect image
130
137
run : |
131
- docker buildx imagetools inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.version }}
138
+ docker buildx imagetools inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.version }}
You can’t perform that action at this time.
0 commit comments