2022-08-14 10:36:58 -05:00
|
|
|
name: Build and publish docker image
|
2020-07-31 13:17:14 -05:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
2020-07-31 13:24:44 -05:00
|
|
|
- 'v*'
|
2020-07-31 13:17:14 -05:00
|
|
|
|
|
|
|
jobs:
|
2023-04-16 06:10:24 -05:00
|
|
|
build-image:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- runtime: 'rr'
|
|
|
|
platforms: 'linux/arm64/v8,linux/amd64'
|
|
|
|
- runtime: 'rr'
|
|
|
|
tag-suffix: 'roadrunner'
|
|
|
|
platforms: 'linux/arm64/v8,linux/amd64'
|
2024-04-26 02:27:21 -05:00
|
|
|
uses: shlinkio/github-actions/.github/workflows/docker-publish-image.yml@main
|
2022-08-27 06:14:27 -05:00
|
|
|
secrets: inherit
|
|
|
|
with:
|
|
|
|
image-name: shlinkio/shlink
|
|
|
|
version-arg-name: SHLINK_VERSION
|
2023-04-16 06:10:24 -05:00
|
|
|
platforms: ${{ matrix.platforms }}
|
|
|
|
tags-suffix: ${{ matrix.tag-suffix }}
|
2022-08-27 06:14:27 -05:00
|
|
|
extra-build-args: |
|
2023-04-16 06:10:24 -05:00
|
|
|
SHLINK_RUNTIME=${{ matrix.runtime }}
|