diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index 99728e2..e5bf1c6 100644 --- a/.github/workflows/build-container.yml +++ b/.github/workflows/build-container.yml @@ -24,27 +24,27 @@ jobs: else echo "::set-output name=updated::false" fi -build: - runs-on: ubuntu-latest - needs: check-updates - if: needs.check-updates.outputs.updated == 'true' - steps: - - name: Checkout repository - uses: actions/checkout@v2 + build: + runs-on: ubuntu-latest + needs: check-updates + if: needs.check-updates.outputs.updated == 'true' + steps: + - name: Checkout repository + uses: actions/checkout@v2 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 - - name: Login to DockerHub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} + - name: Login to DockerHub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} - - name: Build and push Docker image - uses: docker/build-push-action@v6 - with: - context: . - file: docker/Dockerfile - push: true - tags: pjakobs/sming:latest + - name: Build and push Docker image + uses: docker/build-push-action@v6 + with: + context: . + file: docker/Dockerfile + push: true + tags: pjakobs/sming:latest