File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ jobs:
166166 with :
167167 registry : ghcr.io
168168 username : ${{ github.repository_owner }}
169- password : ${{ secrets.CR_PAT }}
169+ password : ${{ secrets.GITHUB_TOKEN }}
170170
171171 - name : Build and push
172172 id : docker_build
@@ -179,6 +179,19 @@ jobs:
179179 tags : ghcr.io/redisgrafana/redis-app:latest
180180 cache-from : type=local,src=/tmp/.buildx-cache
181181 cache-to : type=local,dest=/tmp/.buildx-cache
182-
182+
183+ - name : Build and push
184+ id : docker_build
185+ uses : docker/build-push-action@v2
186+ with :
187+ context : .
188+ file : ./Dockerfile
189+ platforms : linux/amd64,linux/arm64,linux/arm
190+ push : true
191+ build-args : GRAFANA_VERSION=master
192+ tags : ghcr.io/redisgrafana/redis-app:master
193+ cache-from : type=local,src=/tmp/.buildx-cache
194+ cache-to : type=local,dest=/tmp/.buildx-cache
195+
183196 - name : Image digest
184197 run : echo ${{ steps.docker_build.outputs.digest }}
You can’t perform that action at this time.
0 commit comments