nginx#1.25.3-v1 #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Docker Image (Build and Push) | |
on: | |
release: | |
types: [published] | |
jobs: | |
geoserver: | |
if: ${{ contains(github.ref, 'geoserver_') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: winterjung/split@v2 | |
id: split | |
with: | |
separator: "_" | |
msg: ${{ github.ref }} | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
- uses: ./.github/actions/build_and_push | |
with: | |
image: "geoserver" | |
folder: "geoserver" | |
branch: ${{ github.ref }} | |
tag: ${{ steps.split.outputs._1 }} | |
push: true | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
postgis: | |
if: ${{ contains(github.ref, 'postgis_') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: winterjung/split@v2 | |
id: split | |
with: | |
separator: "_" | |
msg: ${{ github.ref }} | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
- uses: ./.github/actions/build_and_push | |
with: | |
image: "postgis" | |
folder: "postgis" | |
branch: ${{ github.ref }} | |
tag: ${{ steps.split.outputs._1 }} | |
push: true | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
nginx: | |
if: ${{ contains(github.ref, 'nginx_') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: winterjung/split@v2 | |
id: split | |
with: | |
separator: "_" | |
msg: ${{ github.ref }} | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
- uses: ./.github/actions/build_and_push | |
with: | |
image: "nginx" | |
folder: "nginx" | |
branch: ${{ github.ref }} | |
tag: ${{ steps.split.outputs._1 }} | |
push: true | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
gsdatadir: | |
if: ${{ contains(github.ref, 'gsdatadir') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: winterjung/split@v2 | |
id: split | |
with: | |
separator: "_" | |
msg: ${{ github.ref }} | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
- uses: ./.github/actions/build_and_push | |
with: | |
image: "geoserver_data" | |
folder: "gsdatadir" | |
branch: ${{ github.ref }} | |
tag: ${{ steps.split.outputs._1 }} | |
push: true | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
letsencrypt: | |
if: ${{ contains(github.ref, 'letsencrypt_') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: winterjung/split@v2 | |
id: split | |
with: | |
separator: "_" | |
msg: ${{ github.ref }} | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
- uses: ./.github/actions/build_and_push | |
with: | |
image: "letsencrypt" | |
folder: "letsencrypt" | |
branch: ${{ github.ref }} | |
tag: ${{ steps.split.outputs._1 }} | |
push: true | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} |