diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index dfa5ae72c..0dc62cf29 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -21,7 +21,7 @@ on: jobs: build: - name: Build, Test and Publish + name: Build and Test runs-on: ubuntu-latest env: APPLICATION_ENV: testing @@ -112,7 +112,7 @@ jobs: uses: docker/setup-buildx-action@v1 - name: Build Web Image - uses: docker/build-push-action@v2 + uses: docker/build-push-action@master with: context: . load: true @@ -146,6 +146,7 @@ jobs: - name: Upload built static assets and translations uses: actions/upload-artifact@v2 + if: github.event_name == 'push' || github.event_name == 'schedule' with: name: assets if-no-files-found: error @@ -160,6 +161,7 @@ jobs: - name: Upload Docker image as artifact uses: actions/upload-artifact@v2 + if: github.event_name == 'push' || github.event_name == 'schedule' with: name: myimage path: /tmp/azuracast_web.tar @@ -223,7 +225,7 @@ jobs: type=semver,pattern={{version}} - name: Publish Web Image - uses: docker/build-push-action@v2 + uses: docker/build-push-action@master with: context: . push: true