mirror of
https://git.um-react.app/um/web.git
synced 2025-12-13 18:53:02 +00:00
Update: [CI] Build Docker Image
This commit is contained in:
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
@@ -128,3 +128,22 @@ jobs:
|
||||
asset_name: sha256sum.txt
|
||||
asset_content_type: text/plain
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Build Docker and push
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
platforms: linux/amd64,linux/arm64,linux/386
|
||||
push: true
|
||||
tags: |
|
||||
ix64/unlock-music:latest
|
||||
ix64/unlock-music:${{ github.ref }}
|
||||
|
||||
Reference in New Issue
Block a user