diff --git a/.github/workflows/build-test-lint.yaml b/.github/workflows/build-test-lint.yaml index d8d4e53..9c8baae 100644 --- a/.github/workflows/build-test-lint.yaml +++ b/.github/workflows/build-test-lint.yaml @@ -36,7 +36,7 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 with: - context: ${{ inputs.docker-context || github.workspace }} + context: ${{ inputs.docker-context || $GITHUB_WORKSPACE }} target: ${{ inputs.docker-target }} - name: Github Container Login uses: docker/login-action@v2 @@ -48,11 +48,11 @@ jobs: run: >- touch .env.development; TAG=latest docker-compose pull web || true - working-directory: ${{ inputs.subdirectory || github.workspace }} + working-directory: ${{ inputs.subdirectory || $GITHUB_WORKSPACE }} - name: Build and push uses: docker/build-push-action@v3 with: - context: ${{ inputs.docker-context || github.workspace }} + context: ${{ inputs.docker-context || $GITHUB_WORKSPACE }} platforms: linux/amd64,linux/arm64 target: ${{ inputs.docker-target }} build-args: | @@ -66,7 +66,7 @@ jobs: - name: Build and push worker uses: docker/build-push-action@v3 with: - context: ${{ inputs.docker-context || github.workspace }} + context: ${{ inputs.docker-context || $GITHUB_WORKSPACE }} platforms: linux/amd64,linux/arm64 target: ${{ inputs.docker-target }} build-args: |