There was an error while loading. Please reload this page.
1 parent 97e6c30 commit 10ce315Copy full SHA for 10ce315
1 file changed
.github/workflows/build.yaml
@@ -88,10 +88,8 @@ jobs:
88
password: ${{ secrets.DOCKERHUB_TOKEN }}
89
90
# Never use cache with builds, build from scratch for security updates
91
-
92
- - name: Build and push Docker images
+ - name: Build Docker images
93
uses: docker/build-push-action@v2
94
- # if: ${{ github.ref == 'refs/heads/main' }}
95
if: ${{ github.ref == 'refs/heads/feature/automated-tests' }}
96
with:
97
push: false # set to false for testing
@@ -100,3 +98,10 @@ jobs:
100
98
build-args: |
101
99
PHP_IMG=${{ matrix.base_container }}
102
COMPOSER_VERSION=${{ env.COMPOSER_VERSION }}
+
+ - name: Push Docker images
103
+ uses: docker/build-push-action@v2
104
+ if: ${{ github.ref == 'refs/heads/main' }}
105
+ with:
106
+ push: true
107
+ tags: ${{ env.BUILD_TAGS }}
0 commit comments