Skip to content

Commit

Permalink
CI: add a workflow to build docker/ images
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Oct 5, 2024
1 parent d09bdd0 commit 61d0dea
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Docker

on:
push:
branches-ignore:
- 'backport**'
- 'dependabot**'

pull_request:
paths:
- 'docker/**'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

permissions:
contents: read

docker:
strategy:
fail-fast: false
matrix:
include:
- name: alpine-normal

- name: alpine-small

- name: ubuntu-normal

- name: ubuntu-full

name: ${{ matrix.name }}

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0

- name: Build
shell: bash -l {0}
run: |
cd docker/${{ matrix.name }
./build.sh --platform linux/amd64

0 comments on commit 61d0dea

Please sign in to comment.