Compare commits

...

2 commits

Author SHA1 Message Date
Renaud Chaput
1d01a480ae
Stop building an image for each merge on main 2023-07-06 14:14:15 +02:00
Renaud Chaput
2d79bbe5ff
Use large Github Runner for Docker builds 2023-07-06 13:36:17 +02:00
2 changed files with 3 additions and 4 deletions

View file

@ -2,8 +2,6 @@ name: Build container image
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
branches:
- 'main'
tags: tags:
- '*' - '*'
pull_request: pull_request:
@ -16,7 +14,7 @@ permissions:
jobs: jobs:
build-image: build-image:
runs-on: ubuntu-latest runs-on: docker-builder
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}

View file

@ -9,7 +9,7 @@ permissions:
jobs: jobs:
build-nightly-image: build-nightly-image:
runs-on: ubuntu-latest runs-on: docker-builder
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
@ -37,6 +37,7 @@ jobs:
latest=auto latest=auto
tags: | tags: |
type=raw,value=nightly type=raw,value=nightly
type=raw,value=edge
type=schedule,pattern=nightly-{{date 'YYYY-MM-DD' tz='Etc/UTC'}} type=schedule,pattern=nightly-{{date 'YYYY-MM-DD' tz='Etc/UTC'}}
labels: | labels: |
org.opencontainers.image.description=Nightly build image used for testing purposes org.opencontainers.image.description=Nightly build image used for testing purposes