mirror of
https://github.com/elseif/MikroTikPatch
synced 2026-07-17 18:49:41 +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"]
|
ENTRYPOINT ["/start.sh"]
|
||||||
EOF
|
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
|
- name: Log in to GitHub Container Registry
|
||||||
uses: docker/login-action@v4
|
uses: docker/login-action@v4
|
||||||
with:
|
with:
|
||||||
@ -171,6 +165,12 @@ jobs:
|
|||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
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
|
- name: Build and Push
|
||||||
uses: docker/build-push-action@v7
|
uses: docker/build-push-action@v7
|
||||||
with:
|
with:
|
||||||
@ -181,8 +181,10 @@ jobs:
|
|||||||
build-args: VERSION=${{ env.VERSION }}
|
build-args: VERSION=${{ env.VERSION }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
provenance: false
|
||||||
|
sbom: false
|
||||||
|
|
||||||
- name: Update :latest tag for stable channel
|
- name: Update :latest tag for stable channel
|
||||||
if: env.IS_LATEST == 'true'
|
if: env.IS_LATEST == 'true'
|
||||||
run: |
|
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