Skip to content

Commit

Permalink
Update actions sailpublish (#126)
Browse files Browse the repository at this point in the history
* Update sail-publish.yml

* Update sail-publish.yml

* Update sail-publish.yml

* Update sail-publish.yml

* Update sail-publish.yml

* Update sail-publish.yml

* Update sail-publish.yml
  • Loading branch information
Kipjr authored May 20, 2024
1 parent 5243c5c commit ee42ab3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/sail-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Copy .env
run: |
if [[ ! -f '.env' ]];then
Expand Down Expand Up @@ -61,8 +63,8 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: ${GITHUB_WORKSPACE}/vendor/laravel/sail/runtimes/${SAIL_VERSION:-8.1}/Dockerfile
build-args: WWWGROUP=${WWWGROUP:-1000}
context: ${{ GITHUB_WORKSPACE }}/vendor/laravel/sail/runtimes/${{ SAIL_VERSION }}/Dockerfile
build-args: WWWGROUP=${{ WWWGROUP }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit ee42ab3

Please sign in to comment.