mirror of
https://github.com/Damillora/phoebe.git
synced 2025-03-10 05:57:22 +00:00
chore: update github workflow
This commit is contained in:
parent
f62e3d3b7c
commit
724b857c99
10
.github/workflows/workflow.yml
vendored
10
.github/workflows/workflow.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
||||
steps:
|
||||
-
|
||||
name: Sanitize platform name
|
||||
id: set-platform
|
||||
id: set_platform
|
||||
run: |
|
||||
PLATFORM=$(echo ${{ matrix.platform }} | tr '/' '_')
|
||||
echo "PLATFORM=$PLATFORM" >> $GITHUB_ENV
|
||||
@ -37,7 +37,7 @@ jobs:
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
-
|
||||
name: Build Binaries
|
||||
id: docker_build
|
||||
id: docker_build_bin
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
@ -54,7 +54,7 @@ jobs:
|
||||
-
|
||||
name: Build and push (No tag)
|
||||
if: env.IS_LINUX == 'true' && env.IS_RELEASE == 'false'
|
||||
id: docker_build
|
||||
id: docker_build_git
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
@ -63,12 +63,12 @@ jobs:
|
||||
-
|
||||
name: Build and push (Tagged)
|
||||
if: env.IS_LINUX == 'true' && env.IS_RELEASE == 'true'
|
||||
id: docker_build
|
||||
id: docker_build_release
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
platforms: ${{ matrix.platform }}
|
||||
tags: damillora/shioriko:${{ env.GIT_TAG }}
|
||||
tags: damillora/shioriko:${{ env.GIT_TAG }}, damillora/shioriko:latest
|
||||
-
|
||||
name: Image digest
|
||||
run: echo ${{ steps.docker_build.outputs.digest }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user