Skip to content

Merge pull request #92 from OpenGeoscience/file-size-field #23

Merge pull request #92 from OpenGeoscience/file-size-field

Merge pull request #92 from OpenGeoscience/file-size-field #23

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches:
- master
env:
REGISTRY: ghcr.io
IMAGE_NAME: opengeoscience/uvdat-server
jobs:
tag-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Python Semantic Release
id: release
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Log into the Container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: token
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push the Docker image
uses: docker/build-push-action@v3
with:
context: .
file: dev/Dockerfile
push: ${{ github.actor != 'dependabot[bot]' }}
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.release.outputs.tag }}