mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(ci): tag docker image as latest only for beta (#7103)
This commit is contained in:
6
.github/workflows/docker.yml
vendored
6
.github/workflows/docker.yml
vendored
@ -36,5 +36,9 @@ jobs:
|
||||
run: |
|
||||
docker run --privileged --rm tonistiigi/binfmt --install arm64,amd64
|
||||
docker buildx create --use --name cross-builder
|
||||
- name: Build and push image, tag as "latest"
|
||||
if: ${{ contains(github.event.ref, 'beta') }}
|
||||
run: make PROFILE=maxperf docker-build-push-latest
|
||||
- name: Build and push image
|
||||
run: make PROFILE=maxperf docker-build-latest
|
||||
if: ${{ ! contains(github.event.ref, 'beta') }}
|
||||
run: make PROFILE=maxperf docker-build-push
|
||||
|
||||
Reference in New Issue
Block a user