Skip to content

Commit

Permalink
up build
Browse files Browse the repository at this point in the history
  • Loading branch information
lejianwen committed Sep 27, 2024
1 parent 3e3f812 commit 688e544
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,32 +151,32 @@ jobs:
push: true
provenance: false
tags: |
lejianwen/rustdesk-api:${{ env.LATEST_TAG }}-${{ matrix.job.platform }}
lejianwen/rustdesk-api:${{ env.TAG }}-${{ matrix.job.platform }}
lejianwen/rustdesk-api:${{ env.LATEST_TAG }}
lejianwen/rustdesk-api:${{ env.TAG }}
labels: ${{ steps.meta.outputs.labels }}

#
docker-manifest:
name: Push Docker Manifest
needs: docker
runs-on: ubuntu-latest
steps:
- name: Extract version from tag
id: vars
run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}

- name: Create and push manifest (:version)
uses: Noelware/docker-manifest-action@master
with:
base-image: lejianwen/rustdesk-api:${{ env.TAG }}
extra-images: lejianwen/rustdesk-api:${{ env.TAG }}-amd64,lejianwen/rustdesk-api:${{ env.TAG }}-arm64
push: true
# docker-manifest:
# name: Push Docker Manifest
# needs: docker
# runs-on: ubuntu-latest
# steps:
# - name: Extract version from tag
# id: vars
# run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
#
# - name: Log in to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
#
# - name: Create and push manifest (:version)
# uses: Noelware/docker-manifest-action@master
# with:
# base-image: lejianwen/rustdesk-api:${{ env.TAG }}
# extra-images: lejianwen/rustdesk-api:${{ env.TAG }}-amd64,lejianwen/rustdesk-api:${{ env.TAG }}-arm64
# push: true

# - name: Create and push manifest (:latest)
# uses: Noelware/docker-manifest-action@master
Expand Down

0 comments on commit 688e544

Please sign in to comment.