Skip to content

v1.16.0

v1.16.0 #2

Workflow file for this run

name: Publish to DockerHub
on:
release:
types: [published]
workflow_dispatch:
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: |
jeffersonlab/${{ github.event.repository.name }}
tags: |
type=semver,pattern={{version}}
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Push to Docker Hub
uses: docker/build-push-action@v3
with:
push: true
build-args: |
CUSTOM_CRT_URL=http://pki.jlab.org/JLabCA.crt
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}