mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-10-21 16:27:15 +08:00
ci: 撤销多架构构建
This commit is contained in:
parent
b6702739f2
commit
64c817ebf4
11
.github/workflows/release_docker.yaml
vendored
11
.github/workflows/release_docker.yaml
vendored
@ -12,11 +12,6 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup QEMU Emulator
|
|
||||||
uses: docker/setup-qemu-action@master
|
|
||||||
with:
|
|
||||||
platforms: all
|
|
||||||
|
|
||||||
- name: Setup Docker Buildx Command
|
- name: Setup Docker Buildx Command
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: docker/setup-buildx-action@master
|
uses: docker/setup-buildx-action@master
|
||||||
@ -33,7 +28,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
URL: ${{ secrets.DOCKER_IMAGE_REGISTRY }}${{ secrets.DOCKER_IMAGE_PATH }}
|
URL: ${{ secrets.DOCKER_IMAGE_REGISTRY }}${{ secrets.DOCKER_IMAGE_PATH }}
|
||||||
run: |
|
run: |
|
||||||
echo LATEST=${URL}:latest >> $GITHUB_OUTPUT${{ steps.image.outputs.VERSION }},${{ steps.image.outputs.LATEST }}
|
echo LATEST=${URL}:latest >> $GITHUB_OUTPUT
|
||||||
echo VERSION=${URL}:${GITHUB_REF/refs\/tags\//} >> $GITHUB_OUTPUT
|
echo VERSION=${URL}:${GITHUB_REF/refs\/tags\//} >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Build Docker Image and Push
|
- name: Build Docker Image and Push
|
||||||
@ -41,8 +36,6 @@ jobs:
|
|||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
builder: ${{ steps.buildx.outputs.name }}
|
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./dockerfile
|
||||||
platforms: linux/amd64,linux/386,linux/arm64,linux/arm/v7
|
|
||||||
tags: ${{ steps.image.outputs.VERSION }},${{ steps.image.outputs.LATEST }}
|
tags: ${{ steps.image.outputs.VERSION }},${{ steps.image.outputs.LATEST }}
|
Loading…
Reference in New Issue
Block a user