From d3e1c258d6632b3ff604f2039df1af51eb2f59c4 Mon Sep 17 00:00:00 2001 From: Griefed <griefed@griefed.de> Date: Fri, 28 Jan 2022 21:44:08 +0100 Subject: [PATCH] Got enough of secrets failing to be exported to workflows and branch names not being formatted the way I told the actions to. --- .github/workflows/test.yml | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4332927..30cf48d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,17 +37,6 @@ jobs: uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - - name: Login to DockerHub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Login to GitHub Container Registry - uses: docker/login-action@v1 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push uses: docker/build-push-action@v2 with: @@ -55,12 +44,7 @@ jobs: build-args: BRANCH_OR_TAG=${{ steps.branch-name.outputs.current_branch }} file: ./Dockerfile platforms: linux/amd64,linux/arm/v7,linux/arm64 - push: true - tags: | - ghcr.io/griefed/ltt-mapmaker:${{ steps.branch-name.outputs.current_branch }} - ghcr.io/griefed/ltt-mapmaker:${{ steps.branch-name.outputs.current_branch }}-${{ github.sha }} - ${{ secrets.DOCKERHUB_USERNAME }}/ltt-mapmaker:${{ steps.branch-name.outputs.current_branch }} - ${{ secrets.DOCKERHUB_USERNAME }}/ltt-mapmaker:${{ steps.branch-name.outputs.current_branch }}-${{ github.sha }} + push: false electron: needs: test -- GitLab