Skip to content

Commit

Permalink
2024-06-19 13:23 - updates ci:test
Browse files Browse the repository at this point in the history
  • Loading branch information
saxix committed Jun 19, 2024
1 parent 47be055 commit cadba7d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,20 @@ jobs:
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Info
if: needs.setup.outputs.updated != 'true' || contains(github.event.head_commit.message, 'ci:build')
run: |
if [[ ${{needs.setup.outputs.updated}} != true ]]; then
echo "::notice:: Rebuild due to image outdated"
else
echo "::notice:: Forced rebuild due to commit message ${{github.event.head_commit.message}}"
fi
- name: DockerHub login
if: needs.setup.outputs.updated != 'true' || contains(github.event.head_commit.message, 'ci:build')
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
if: needs.setup.outputs.updated != 'true' || contains(github.event.head_commit.message, 'ci:build')
uses: docker/[email protected]
Expand Down

0 comments on commit cadba7d

Please sign in to comment.