Skip to content

Commit

Permalink
refactor(ci): Using official Docker build and push
Browse files Browse the repository at this point in the history
  • Loading branch information
leocavalcante authored Dec 4, 2023
1 parent 9fc81a6 commit c006e3b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,9 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build --build-arg PHP=${{ matrix.php }} -t opencodeco/phpctl:php${{ matrix.php }} .
- name: Build and push Docker images
uses: docker/[email protected]
with:
build-args: PHP=${{ matrix.php }}
tags: opencodeco/phpctl:php${{ matrix.php }}

0 comments on commit c006e3b

Please sign in to comment.