Skip to content

minor fixes to mode catalogs #24

minor fixes to mode catalogs

minor fixes to mode catalogs #24

Workflow file for this run

name: github-docker
on:
push:
branches:
- 'main'
release:
types: [created]
concurrency:
group: docker-build
cancel-in-progress: true
permissions:
contents: read
packages: write
jobs:
build-docker:
runs-on: ubuntu-latest
if: github.repository == 'globalseismology/avni'
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_LOGIN }}
- name: Build and push Docker image for main
if: contains(github.event_name, 'push')
uses: docker/build-push-action@v3
with:
context: ./docker/avni/
cache-to: type=inline
push: true
tags: |
globalseismology/avni:latest
- name: Build and push Docker image for release
if: contains(github.event_name, 'release')
uses: docker/build-push-action@v3
with:
context: ./docker/avni/
cache-to: type=inline
push: true
tags: |
globalseismology/avni:${{github.ref_name}}