This commit is contained in:
rustdesk 2024-05-24 18:02:39 +08:00
parent 3cf0f6560f
commit 064c9e4bb4

View File

@ -260,11 +260,12 @@ jobs:
echo "MAJOR_TAG=$M" >> $GITHUB_ENV echo "MAJOR_TAG=$M" >> $GITHUB_ENV
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v3 uses: docker/build-push-action@v5
with: with:
context: "./docker" context: "./docker"
platforms: ${{ matrix.job.docker_platform }} platforms: ${{ matrix.job.docker_platform }}
push: true push: true
provenance: false
build-args: | build-args: |
S6_ARCH=${{ matrix.job.s6_platform }} S6_ARCH=${{ matrix.job.s6_platform }}
tags: | tags: |
@ -380,11 +381,12 @@ jobs:
echo "MAJOR_TAG=$M" >> $GITHUB_ENV echo "MAJOR_TAG=$M" >> $GITHUB_ENV
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v3 uses: docker/build-push-action@v5
with: with:
context: "./docker-classic" context: "./docker-classic"
platforms: ${{ matrix.job.docker_platform }} platforms: ${{ matrix.job.docker_platform }}
push: true push: true
provenance: false
tags: | tags: |
${{ secrets.DOCKER_IMAGE_CLASSIC }}:${{ env.LATEST_TAG }}-${{ matrix.job.name }} ${{ secrets.DOCKER_IMAGE_CLASSIC }}:${{ env.LATEST_TAG }}-${{ matrix.job.name }}
${{ secrets.DOCKER_IMAGE_CLASSIC }}:${{ env.GIT_TAG }}-${{ matrix.job.name }} ${{ secrets.DOCKER_IMAGE_CLASSIC }}:${{ env.GIT_TAG }}-${{ matrix.job.name }}