mirror of
https://github.com/elseif/MikroTikPatch
synced 2026-07-17 10:39:40 +00:00
modified: .github/workflows/build_docker.yml
This commit is contained in:
parent
723969a497
commit
ad036099ce
16
.github/workflows/build_docker.yml
vendored
16
.github/workflows/build_docker.yml
vendored
@ -158,12 +158,6 @@ jobs:
|
||||
ENTRYPOINT ["/start.sh"]
|
||||
EOF
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v4
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v4
|
||||
|
||||
- name: Log in to GitHub Container Registry
|
||||
uses: docker/login-action@v4
|
||||
with:
|
||||
@ -171,6 +165,12 @@ jobs:
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v4
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v4
|
||||
|
||||
- name: Build and Push
|
||||
uses: docker/build-push-action@v7
|
||||
with:
|
||||
@ -181,8 +181,10 @@ jobs:
|
||||
build-args: VERSION=${{ env.VERSION }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
provenance: false
|
||||
sbom: false
|
||||
|
||||
- name: Update :latest tag for stable channel
|
||||
if: env.IS_LATEST == 'true'
|
||||
run: |
|
||||
docker buildx imagetools create -t ${{ env.IMAGE }}:latest ${{ env.IMAGE }}:${{ env.VERSION }}
|
||||
docker buildx imagetools create --provenance=false -t ${{ env.IMAGE }}:latest ${{ env.IMAGE }}:${{ env.VERSION }}
|
||||
Loading…
x
Reference in New Issue
Block a user