Skip to content

Commit 2876f4f

Browse files
authored
Update Docker token and add Master build (#54)
1 parent 3da6750 commit 2876f4f

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/docker.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)