Skip to content

Add GitHub actions to test environments and Publish docker images (#1) #1

Add GitHub actions to test environments and Publish docker images (#1)

Add GitHub actions to test environments and Publish docker images (#1) #1

Workflow file for this run

name: Create Docker images
on:
push:
tags: "*"
jobs:
create_docker:
runs-on: ubuntu-latest
strategy:
matrix:
conda-config: [release]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v4
with:
name: ${{ github.repository }}/${{ matrix.conda-config }}:${{ github.ref_name }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
dockerfile: ${{ matrix.conda-config }}.dockerfile
registry: ghcr.io
snapshot: true