Skip to content

Commit

Permalink
shoudl fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianHinge committed Jun 2, 2023
1 parent 19955e7 commit c82213e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docker_build_and_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,29 @@ jobs:
echo "::set-output name=valid::false"
fi
- name: Split branch name
if : ${{steps.step1.outputs.valid == "true"}}
if : ${{steps.step1.outputs.valid == 'true'}}
env:
TAG_NAME: ${{ github.event.release.tag_name }}
id: split
run: echo "::set-output name=version::${TAG_NAME##*-}"
-
name: Set up QEMU
if : ${{steps.step1.outputs.valid == "true"}}
if : ${{steps.step1.outputs.valid == 'true'}}
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
if : ${{steps.step1.outputs.valid == "true"}}
if : ${{steps.step1.outputs.valid == 'true'}}
uses: docker/setup-buildx-action@v2
-
name: Login to Docker Hub
if : ${{steps.step1.outputs.valid == "true"}}
if : ${{steps.step1.outputs.valid == 'true'}}
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
if : ${{steps.step1.outputs.valid == "true"}}
if : ${{steps.step1.outputs.valid == 'true'}}
uses: docker/build-push-action@v4
with:
context: "{{defaultContext}}:${{steps.step1.outputs.dir}}"
Expand Down

0 comments on commit c82213e

Please sign in to comment.