@@ -168,28 +168,28 @@ jobs:
168168 username : ${{ github.repository_owner }}
169169 password : ${{ secrets.GITHUB_TOKEN }}
170170
171- - name : Build and push latest
172- id : docker_build
171+ - name : Build and push master
172+ id : docker_build_master
173173 uses : docker/build-push-action@v2
174174 with :
175175 context : .
176176 file : ./Dockerfile
177177 platforms : linux/amd64,linux/arm64,linux/arm
178178 push : true
179- tags : ghcr.io/redisgrafana/redis-app:latest
179+ build-args : GRAFANA_VERSION=master
180+ tags : ghcr.io/redisgrafana/redis-app:master
180181 cache-from : type=local,src=/tmp/.buildx-cache
181182 cache-to : type=local,dest=/tmp/.buildx-cache
182183
183- - name : Build and push master
184- id : docker_build_master
184+ - name : Build and push latest
185+ id : docker_build
185186 uses : docker/build-push-action@v2
186187 with :
187188 context : .
188189 file : ./Dockerfile
189190 platforms : linux/amd64,linux/arm64,linux/arm
190191 push : true
191- build-args : GRAFANA_VERSION=master
192- tags : ghcr.io/redisgrafana/redis-app:master
192+ tags : ghcr.io/redisgrafana/redis-app:latest
193193 cache-from : type=local,src=/tmp/.buildx-cache
194194 cache-to : type=local,dest=/tmp/.buildx-cache
195195
0 commit comments