Skip to content

Commit

Permalink
Merge pull request #7 from letsdockerize/github-action-job
Browse files Browse the repository at this point in the history
GitHub action job
  • Loading branch information
bestlong authored Oct 2, 2023
2 parents a9f6d9d + 6a8ff23 commit caf8ae8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
steps:
- name: Login to Docker Hub
if: ${{ (github.event_name != 'pull_request') && (github.ref == 'refs/heads/master') }}
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
build-args: PHP_TAG_VERSION=${{ matrix.php_version }}
push: ${{ (github.event_name != 'pull_request') && (github.ref == 'refs/heads/master') }}
Expand Down

0 comments on commit caf8ae8

Please sign in to comment.