Skip to content

Fix Docker badge

Fix Docker badge #62

Workflow file for this run

name: Docker
on:
push:
branches:
- main
tags:
- 'v?[0-9]+.[0-9]+.[0-9]+'
jobs:
build-and-push:
name: Deploy Docker Image
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Build and push
uses: openzim/docker-publish-action@v9
with:
registries: ghcr.io
image-name: openzim/phet
on-master: dev
tag-pattern: /^v?([0-9.]+)$/
latest-on-tag: true
restrict-to: openzim/phet
credentials: |
GHCRIO_USERNAME=${{ secrets.GHCR_USERNAME }}
GHCRIO_TOKEN=${{ secrets.GHCR_TOKEN }}