fixing formating

This commit is contained in:
Yaroslav 2023-11-03 09:51:46 +02:00
parent 2a626edbed
commit b20792080a
2 changed files with 14 additions and 15 deletions

View file

@ -8,23 +8,23 @@ on:
types: [ labeled ] types: [ labeled ]
jobs: jobs:
build: build:
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'CI:Build') if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'CI:Build')
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - name: Build the Docker image
- name: Build the Docker image uses: actions/checkout@v3
run: docker build . --file Dockerfile run: docker build . --file Dockerfile
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5 - name: Build and push
with: uses: docker/build-push-action@v5
push: true with:
tags: vatman/client-go:latest push: true
tags: vatman/client-go:latest

View file

@ -10,7 +10,6 @@ on:
jobs: jobs:
deploy: deploy:
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'CI:Deploy') if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'CI:Deploy')
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: