Bump @bhch/react-json-form from 2.13.5 to 2.14.1 #18
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 | |
on: | |
push: | |
branches: | |
- main | |
- new_observation_types | |
release: | |
types: [created] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write # required to publish docker image | |
env: | |
REGISTRY: ghcr.io | |
IMAGE_NAME: ${{ github.repository }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Log in to the Container registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Extract metadata (tags, labels) for Docker | |
id: meta-builder | |
uses: docker/metadata-action@v5 | |
with: | |
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/georiviere-public-builder | |
- name: Build and push Docker image builder | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
file: ./.docker/Dockerfile | |
push: true | |
tags: ${{ steps.meta-builder.outputs.tags }} | |
labels: ${{ steps.meta-builder.outputs.labels }} | |
target: builder | |
attach_install_release: | |
runs-on: ubuntu-latest | |
needs: [ release ] | |
permissions: | |
contents: write # required to attach zip to release | |
if: ${{ github.event_name == 'release' && github.event.action == 'created' }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Prepare install.zip | |
run: | | |
mkdir -p ./install/georiviere-public | |
cp .env.dist ./install/georiviere-public/.env | |
cp -r translations ./install/georiviere-public | |
cp -r src/customization ./install/georiviere-public | |
cp -r public/medias ./install/georiviere-public | |
cp ./install/docker-compose.yml ./install/georiviere-public | |
cp ./install/Dockerfile ./install/georiviere-public | |
cd install | |
zip -r ../install.zip ./georiviere-public | |
- name: Attach zip archive as release binary | |
uses: skx/github-action-publish-binaries@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
args: 'install.zip' |