diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index ed0bd46..e283d75 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -1,22 +1,22 @@ -name: publish docker -on: - push: - branches: - - "main" - workflow_dispatch: - -jobs: - publish-docker-image: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Login to GitHub Container Registry - uses: docker/login-action@v1 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.MY_TOKEN }} - - name: Build the Docker image - run: | - docker build . --tag ghcr.io/neongamerbot-qk/crc:latest - docker push ghcr.io/neongamerbot-qk/crc:latest +name: publish docker +on: + push: + branches: + - "main" + workflow_dispatch: + +jobs: + publish-docker-image: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Login to GitHub Container Registry + uses: docker/login-action@v1 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.MY_TOKEN }} + - name: Build the Docker image + run: | + docker build . --tag ghcr.io/neongamerbot-qk/crc:latest + docker push ghcr.io/neongamerbot-qk/crc:latest