mirror of
https://github.com/mempool/mempool.git
synced 2025-03-15 04:11:48 +01:00
push both tag and latest images at the same time
This commit is contained in:
parent
f937ea5745
commit
8574ee6edd
1 changed files with 0 additions and 10 deletions
10
.github/workflows/on-tag.yml
vendored
10
.github/workflows/on-tag.yml
vendored
|
@ -67,16 +67,6 @@ jobs:
|
||||||
--cache-to "type=local,dest=/tmp/.buildx-cache" \
|
--cache-to "type=local,dest=/tmp/.buildx-cache" \
|
||||||
--platform linux/amd64,linux/arm64,linux/arm/v7 \
|
--platform linux/amd64,linux/arm64,linux/arm/v7 \
|
||||||
--tag ${{ secrets.DOCKER_HUB_USER }}/${{ matrix.service }}:$TAG \
|
--tag ${{ secrets.DOCKER_HUB_USER }}/${{ matrix.service }}:$TAG \
|
||||||
--output "type=registry" ./${{ matrix.service }}/ \
|
|
||||||
--build-arg commitHash=$SHORT_SHA
|
|
||||||
|
|
||||||
- name: Run Docker buildx for ${{ matrix.service }} against latest
|
|
||||||
run: |
|
|
||||||
docker buildx build \
|
|
||||||
--cache-from "type=local,src=/tmp/.buildx-cache" \
|
|
||||||
--cache-to "type=local,dest=/tmp/.buildx-cache" \
|
|
||||||
--platform linux/amd64,linux/arm64,linux/arm/v7 \
|
|
||||||
--tag ${{ secrets.DOCKER_HUB_USER }}/${{ matrix.service }}:latest \
|
--tag ${{ secrets.DOCKER_HUB_USER }}/${{ matrix.service }}:latest \
|
||||||
--output "type=registry" ./${{ matrix.service }}/ \
|
--output "type=registry" ./${{ matrix.service }}/ \
|
||||||
--build-arg commitHash=$SHORT_SHA
|
--build-arg commitHash=$SHORT_SHA
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue