Skip to content

Commit

Permalink
Merge pull request #53 from elliotmassen/fix/php-virtual-package-update
Browse files Browse the repository at this point in the history
Ensure that correct PHP version is symlinked
  • Loading branch information
bestlong authored Feb 23, 2022
2 parents aa5c8be + 3ff4378 commit 0044eba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dockerpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
uses: docker/setup-buildx-action@v1

- name: Login to Docker Hub
if: ${{ (github.repository == 'laradock/workspace') }}
if: ${{ (github.repository == 'laradock/workspace') && (github.ref == 'refs/heads/master') }}
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USER }}
Expand All @@ -53,5 +53,5 @@ jobs:
with:
file: Dockerfile-${{ matrix.php_version }}
platforms: linux/amd64,linux/arm64,linux/386
push: ${{ (github.repository == 'laradock/workspace') }}
push: ${{ (github.repository == 'laradock/workspace') && (github.ref == 'refs/heads/master') }}
tags: ${{ steps.meta.outputs.tags }}
1 change: 1 addition & 0 deletions Dockerfile-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ RUN set -eux \
tree \
postgresql-client \
&& apt-get clean \
&& update-alternatives --set php /usr/bin/php8.0 \
#####################################
# Composer:
#####################################
Expand Down

0 comments on commit 0044eba

Please sign in to comment.