up build docker
This commit is contained in:
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -123,6 +123,12 @@ jobs:
|
|||||||
id: vars
|
id: vars
|
||||||
run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
|
id: meta
|
||||||
|
uses: docker/metadata-action@v4
|
||||||
|
with:
|
||||||
|
images: lejianwen/rustdesk-api
|
||||||
|
|
||||||
- name: Download binaries
|
- name: Download binaries
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
@@ -143,6 +149,8 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
lejianwen/rustdesk-api:latest-${{ matrix.job.platform }}
|
lejianwen/rustdesk-api:latest-${{ matrix.job.platform }}
|
||||||
lejianwen/rustdesk-api:${{ env.TAG }}-${{ matrix.job.platform }}
|
lejianwen/rustdesk-api:${{ env.TAG }}-${{ matrix.job.platform }}
|
||||||
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
||||||
docker-manifest:
|
docker-manifest:
|
||||||
name: Push Docker Manifest
|
name: Push Docker Manifest
|
||||||
needs: docker
|
needs: docker
|
||||||
@@ -152,8 +160,6 @@ jobs:
|
|||||||
id: vars
|
id: vars
|
||||||
run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: Log in to Docker Hub
|
- name: Log in to Docker Hub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user