From 0840f25d152f2bd8acccf30069f6a4009b86dacd Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Sun, 29 May 2022 00:35:25 +0300 Subject: [PATCH] Improve GitHub Actions workflows --- .github/workflows/ci.yml | 4 ++++ .github/workflows/docker-push.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb7e6b6..61633fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,10 @@ on: pull_request: branches: [master] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: Go: name: Go diff --git a/.github/workflows/docker-push.yml b/.github/workflows/docker-push.yml index fa04ca6..01a4ae9 100644 --- a/.github/workflows/docker-push.yml +++ b/.github/workflows/docker-push.yml @@ -133,5 +133,5 @@ jobs: - name: Show info about built Docker image uses: essentialkaos/docker-info-action@v1 with: - image: ${{env.IMAGE_NAME}}:latest + image: ghcr.io/${{env.IMAGE_NAME}}:latest show-labels: true