Skip to content

Commit

Permalink
ci(root): style
Browse files Browse the repository at this point in the history
  • Loading branch information
NexZhu committed Dec 7, 2023
1 parent 22f6e5d commit 3dcace1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@ snippets:
step-docker-setup-buildx: &step-docker-setup-buildx
uses: docker/setup-buildx-action@v3
if: ${{ steps.projectVars.affected }} == 'true' && github.ref == 'refs/heads/main' && github.event_name == 'push'
if: steps.projectVars.affected == 'true' && github.ref == 'refs/heads/main' && github.event_name == 'push'

step-docker-login: &step-docker-login
uses: docker/login-action@v3
if: ${{ steps.projectVars.affected }} == 'true' && github.ref == 'refs/heads/main' && github.event_name == 'push'
if: steps.projectVars.affected == 'true' && github.ref == 'refs/heads/main' && github.event_name == 'push'
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

step-docker-build-push: &step-docker-build-push
uses: docker/build-push-action@v5
if: ${{ steps.projectVars.affected }} == 'true' && github.ref == 'refs/heads/main' && github.event_name == 'push'
if: steps.projectVars.affected == 'true' && github.ref == 'refs/heads/main' && github.event_name == 'push'
with:
context: apps/${{ github.job }}
file: apps/${{github.job}}/docker/Dockerfile.ci
Expand Down

0 comments on commit 3dcace1

Please sign in to comment.