From b20792080a47c0ff478d4eab3dff1e161cce4832 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Fri, 3 Nov 2023 09:51:46 +0200 Subject: [PATCH] fixing formating --- .github/workflows/build.yml | 28 ++++++++++++++-------------- .github/workflows/deploy.yml | 1 - 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5c3ef26f34..486492f640 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,23 +8,23 @@ on: types: [ labeled ] jobs: - build: if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'CI:Build') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Build the Docker image - run: docker build . --file Dockerfile + - name: Build the Docker image + uses: actions/checkout@v3 + run: docker build . --file Dockerfile + + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and push - uses: docker/build-push-action@v5 - with: - push: true - tags: vatman/client-go:latest \ No newline at end of file + - name: Build and push + uses: docker/build-push-action@v5 + with: + push: true + tags: vatman/client-go:latest \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4bbbd3e1c3..92f7963df4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,7 +10,6 @@ on: jobs: deploy: if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'CI:Deploy') - runs-on: ubuntu-latest steps: