From ae33975668e3fb85a3141b9b0c60badcf81bfaba Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sat, 13 Aug 2022 21:06:49 +0200 Subject: [PATCH] Rename docker-publish workflow jobs --- .github/workflows/docker-publish.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index e51e778..3897712 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -21,19 +21,19 @@ env: IMAGE_NAME: ${{ github.repository }} jobs: - # Run tests. - # See also https://docs.docker.com/docker-hub/builds/automated-testing/ - test: + # Build Docker image + build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Run tests + - name: Build Docker image run: docker build . --file Dockerfile + # Publish built Docker image to the configured registry push: - needs: test + needs: build if: ${{ github.event_name != 'pull_request' }} permissions: contents: read