diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/master_push.yml | 12 | ||||
| -rw-r--r-- | .github/workflows/pull_request.yml | 9 |
2 files changed, 7 insertions, 14 deletions
diff --git a/.github/workflows/master_push.yml b/.github/workflows/master_push.yml index 7c56fec..b1ad41b 100644 --- a/.github/workflows/master_push.yml +++ b/.github/workflows/master_push.yml | |||
| @@ -6,18 +6,14 @@ jobs: | |||
| 6 | build-and-publish: | 6 | build-and-publish: |
| 7 | runs-on: ubuntu-latest | 7 | runs-on: ubuntu-latest |
| 8 | steps: | 8 | steps: |
| 9 | - | 9 | - name: Checkout |
| 10 | name: Checkout | ||
| 11 | uses: actions/checkout@v2 | 10 | uses: actions/checkout@v2 |
| 12 | - | 11 | - name: Set up Docker |
| 13 | name: Set up Docker | ||
| 14 | uses: docker/setup-buildx-action@v1 | 12 | uses: docker/setup-buildx-action@v1 |
| 15 | - | 13 | - name: Login to DockerHub |
| 16 | name: Login to DockerHub | ||
| 17 | uses: docker/login-action@v1 | 14 | uses: docker/login-action@v1 |
| 18 | with: | 15 | with: |
| 19 | username: ${{ secrets.DOCKERHUB_USERNAME }} | 16 | username: ${{ secrets.DOCKERHUB_USERNAME }} |
| 20 | password: ${{ secrets.DOCKERHUB_TOKEN }} | 17 | password: ${{ secrets.DOCKERHUB_TOKEN }} |
| 21 | - | 18 | - name: Build and publish |
| 22 | name: Build and publish | ||
| 23 | run: make build publish | 19 | run: make build publish |
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 5a2ee16..65cffee 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml | |||
| @@ -4,12 +4,9 @@ jobs: | |||
| 4 | build: | 4 | build: |
| 5 | runs-on: ubuntu-latest | 5 | runs-on: ubuntu-latest |
| 6 | steps: | 6 | steps: |
| 7 | - | 7 | - name: Checkout |
| 8 | name: Checkout | ||
| 9 | uses: actions/checkout@v2 | 8 | uses: actions/checkout@v2 |
| 10 | - | 9 | - name: Set up Docker |
| 11 | name: Set up Docker | ||
| 12 | uses: docker/setup-buildx-action@v1 | 10 | uses: docker/setup-buildx-action@v1 |
| 13 | - | 11 | - name: Build |
| 14 | name: Build | ||
| 15 | run: make build | 12 | run: make build |
