From a31a0003b6044a3b045669a7e606c7b438216702 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Sun, 25 Jul 2021 19:07:06 +0900 Subject: [PATCH] change main branch and disable push --- .github/workflows/build.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2571f5e..4cb7c21 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,17 +1,11 @@ name: build on: - workflow_dispatch: - push: { branches: [master] } + push: { branches: [main] } jobs: main: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - run: sudo apt-get update - run: sudo apt-get install -y qemu-user-static - - name: Docker login - run: | - echo "${{ github.token }}" \ - | docker login ghcr.io -u "${GITHUB_ACTOR}" --password-stdin - run: bin/build - - run: docker-compose push