mirror of
https://github.com/rajnandan1/kener.git
synced 2026-08-07 07:14:56 +00:00
fix(ci): prevent stale main image publishes
This commit is contained in:
@@ -12,10 +12,6 @@ env:
|
|||||||
DOCKERHUB_IMAGE_NAME: ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}
|
DOCKERHUB_IMAGE_NAME: ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}
|
||||||
GITHUB_IMAGE_NAME: ${{ github.repository }}
|
GITHUB_IMAGE_NAME: ${{ github.repository }}
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: main-docker-${{ github.ref }}
|
|
||||||
cancel-in-progress: false
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push-main:
|
build-and-push-main:
|
||||||
name: Build and push main Docker images (with docs)
|
name: Build and push main Docker images (with docs)
|
||||||
@@ -23,6 +19,9 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
variant: [debian, alpine]
|
variant: [debian, alpine]
|
||||||
|
concurrency:
|
||||||
|
group: main-docker-${{ github.ref }}-${{ matrix.variant }}
|
||||||
|
cancel-in-progress: true
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
Reference in New Issue
Block a user