Update geoserver version 2.23.6 #64
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: CI | |
on: [push, pull_request] | |
jobs: | |
django: | |
runs-on: ubuntu-latest | |
env: | |
FORCE_COLOR: 1 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Put back the git branch into git (Earthly uses it for tagging) | |
run: | | |
branch="" | |
if [ -n "$GITHUB_HEAD_REF" ]; then | |
branch="$GITHUB_HEAD_REF" | |
else | |
branch="${GITHUB_REF##*/}" | |
fi | |
git checkout -b "$branch" || true | |
- | |
name: Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Download latest earthly | |
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.6.23/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" | |
- name: Earthly version | |
run: earthly --version | |
- name: Build django | |
run: earthly --ci --push +django --BRANCH=$GITHUB_SHA --USER=${GITHUB_REPOSITORY_OWNER,,} | |
- name: Add tags | |
uses: shrink/actions-docker-registry-tag@v2 | |
with: | |
registry: ghcr.io | |
repository: ${{ github.repository }}/iws_${{ github.job }} | |
target: ${{ github.sha }} | |
tags: | | |
${{ github.ref_name }} | |
nginx: | |
runs-on: ubuntu-latest | |
env: | |
FORCE_COLOR: 1 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Put back the git branch into git (Earthly uses it for tagging) | |
run: | | |
branch="" | |
if [ -n "$GITHUB_HEAD_REF" ]; then | |
branch="$GITHUB_HEAD_REF" | |
else | |
branch="${GITHUB_REF##*/}" | |
fi | |
git checkout -b "$branch" || true | |
- | |
name: Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Download latest earthly | |
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.6.23/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" | |
- name: Earthly version | |
run: earthly --version | |
- name: build nginx | |
run: earthly --ci --push +nginx --BRANCH=$GITHUB_SHA --USER=${GITHUB_REPOSITORY_OWNER,,} | |
- name: Add tags | |
uses: shrink/actions-docker-registry-tag@v2 | |
with: | |
registry: ghcr.io | |
repository: ${{ github.repository }}/iws_${{ github.job }} | |
target: ${{ github.sha }} | |
tags: | | |
${{ github.ref_name }} | |
geoserver: | |
runs-on: ubuntu-latest | |
env: | |
FORCE_COLOR: 1 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Put back the git branch into git (Earthly uses it for tagging) | |
run: | | |
branch="" | |
if [ -n "$GITHUB_HEAD_REF" ]; then | |
branch="$GITHUB_HEAD_REF" | |
else | |
branch="${GITHUB_REF##*/}" | |
fi | |
git checkout -b "$branch" || true | |
- | |
name: Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Download latest earthly | |
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.6.23/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" | |
- name: Earthly version | |
run: earthly --version | |
- name: build geoserver | |
run: earthly --ci --push +geoserver --BRANCH=$GITHUB_SHA --USER=${GITHUB_REPOSITORY_OWNER,,} | |
- name: Add tags | |
uses: shrink/actions-docker-registry-tag@v2 | |
with: | |
registry: ghcr.io | |
repository: ${{ github.repository }}/iws_${{ github.job }} | |
target: ${{ github.sha }} | |
tags: | | |
${{ github.ref_name }} | |
postgis: | |
runs-on: ubuntu-latest | |
env: | |
FORCE_COLOR: 1 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Put back the git branch into git (Earthly uses it for tagging) | |
run: | | |
branch="" | |
if [ -n "$GITHUB_HEAD_REF" ]; then | |
branch="$GITHUB_HEAD_REF" | |
else | |
branch="${GITHUB_REF##*/}" | |
fi | |
git checkout -b "$branch" || true | |
- | |
name: Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Download latest earthly | |
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.6.23/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" | |
- name: Earthly version | |
run: earthly --version | |
- name: build postgis | |
run: earthly --ci --push +postgis --BRANCH=$GITHUB_SHA --USER=${GITHUB_REPOSITORY_OWNER,,} | |
- name: Add tags | |
uses: shrink/actions-docker-registry-tag@v2 | |
with: | |
registry: ghcr.io | |
repository: ${{ github.repository }}/iws_${{ github.job }} | |
target: ${{ github.sha }} | |
tags: | | |
${{ github.ref_name }} | |
tdsproxy: | |
runs-on: ubuntu-latest | |
env: | |
FORCE_COLOR: 1 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Put back the git branch into git (Earthly uses it for tagging) | |
run: | | |
branch="" | |
if [ -n "$GITHUB_HEAD_REF" ]; then | |
branch="$GITHUB_HEAD_REF" | |
else | |
branch="${GITHUB_REF##*/}" | |
fi | |
git checkout -b "$branch" || true | |
- | |
name: Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Download latest earthly | |
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.6.23/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" | |
- name: Earthly version | |
run: earthly --version | |
- name: build tds_proxy | |
run: earthly --ci --push +tdsproxy --BRANCH=$GITHUB_SHA --USER=${GITHUB_REPOSITORY_OWNER,,} | |
- name: Add tags | |
uses: shrink/actions-docker-registry-tag@v2 | |
with: | |
registry: ghcr.io | |
repository: ${{ github.repository }}/iws_${{ github.job }} | |
target: ${{ github.sha }} | |
tags: | | |
${{ github.ref_name }} | |
# letsencrypt: | |
# runs-on: ubuntu-latest | |
# env: | |
# FORCE_COLOR: 1 | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - name: Put back the git branch into git (Earthly uses it for tagging) | |
# run: | | |
# branch="" | |
# if [ -n "$GITHUB_HEAD_REF" ]; then | |
# branch="$GITHUB_HEAD_REF" | |
# else | |
# branch="${GITHUB_REF##*/}" | |
# fi | |
# git checkout -b "$branch" || true | |
# - | |
# name: Login to GitHub Container Registry | |
# uses: docker/login-action@v2 | |
# with: | |
# registry: ghcr.io | |
# username: ${{ github.actor }} | |
# password: ${{ secrets.GITHUB_TOKEN }} | |
# - name: Download latest earthly | |
# run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.6.23/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" | |
# - name: Earthly version | |
# run: earthly --version | |
# - name: build letsencrypt | |
# run: earthly --ci --push +letsencrypt --BRANCH=$GITHUB_REF_NAME --USER=${GITHUB_REPOSITORY_OWNER,,} | |
# istorm: | |
# runs-on: ubuntu-latest | |
# env: | |
# FORCE_COLOR: 1 | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - name: Put back the git branch into git (Earthly uses it for tagging) | |
# run: | | |
# branch="" | |
# if [ -n "$GITHUB_HEAD_REF" ]; then | |
# branch="$GITHUB_HEAD_REF" | |
# else | |
# branch="${GITHUB_REF##*/}" | |
# fi | |
# git checkout -b "$branch" || true | |
# - | |
# name: Login to GitHub Container Registry | |
# uses: docker/login-action@v2 | |
# with: | |
# registry: ghcr.io | |
# username: ${{ github.actor }} | |
# password: ${{ secrets.GITHUB_TOKEN }} | |
# - name: Download latest earthly | |
# run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.6.23/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" | |
# - name: Earthly version | |
# run: earthly --version | |
# - name: build istorm | |
# run: earthly --ci --push +istorm --BRANCH=$GITHUB_REF_NAME --USER=${GITHUB_REPOSITORY_OWNER,,} | |
documentation: | |
runs-on: ubuntu-latest | |
env: | |
FORCE_COLOR: 1 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Put back the git branch into git (Earthly uses it for tagging) | |
run: | | |
branch="" | |
if [ -n "$GITHUB_HEAD_REF" ]; then | |
branch="$GITHUB_HEAD_REF" | |
else | |
branch="${GITHUB_REF##*/}" | |
fi | |
git checkout -b "$branch" || true | |
- | |
name: Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Download latest earthly | |
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.6.23/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" | |
- name: Earthly version | |
run: earthly --version | |
- name: build documentation | |
run: earthly --ci --push +documentation --BRANCH=$GITHUB_SHA --USER=${GITHUB_REPOSITORY_OWNER,,} | |
- name: Add tags | |
uses: shrink/actions-docker-registry-tag@v2 | |
with: | |
registry: ghcr.io | |
repository: ${{ github.repository }}/iws_${{ github.job }} | |
target: ${{ github.sha }} | |
tags: | | |
${{ github.ref_name }} |