|
|
@ -128,3 +128,22 @@ jobs:
|
|
|
|
asset_name: sha256sum.txt
|
|
|
|
asset_name: sha256sum.txt
|
|
|
|
asset_content_type: text/plain
|
|
|
|
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 }}
|
|
|
|