Skip to content

Commit

Permalink
dev hot
Browse files Browse the repository at this point in the history
  • Loading branch information
JinnLynn committed Jun 13, 2024
1 parent 71859ed commit 0e54ba6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
options:
- dev
- master
- test
default: "dev"
required: true
push:
Expand Down Expand Up @@ -42,14 +41,14 @@ jobs:
id: get_version
with:
cmd: "yq -p toml -oy '.project.version' pyproject.toml"
- if: ${{ inputs.branch == 'master' }}
- if: ${{ inputs.branch != 'master' }}
name: Build Docker From master
run: |
echo docker buildx build --push --platform "${{ env.platform }}" \
-t ${{ secrets.DOCKER_USER }}/genpac \
-t ${{ secrets.DOCKER_USER }}/genpac:${{steps.get_version.outputs.result}} \
.
- if: ${{ inputs.branch == 'dev' }}
- if: ${{ inputs.branch != 'dev' }}
name: Build Docker From dev
run: |
echo docker buildx build --push --platform "${{ env.platform }}" \
Expand Down

0 comments on commit 0e54ba6

Please sign in to comment.