Skip to content

teehr install update #7

teehr install update

teehr install update #7

Workflow file for this run

name: Docker Publish
on:
push:
tags: [ 'v*.*.*' ]
env:
REGISTRY: awiciroh
IMAGE_NAME: ngiab-teehr
jobs:
push_to_registry:
name: push docker image to hub
runs-on: ubuntu-latest
steps:
- name: check repository
uses: actions/checkout@v3
- name: login to docker registry
uses: docker/login-action@v3
with:
username: ${{secrets.DOCKERHUB_USERNAME}}
password: ${{secrets.DOCKERHUB_TOKEN}}
- name: Extract metadata for the Docker image
id: meta
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: build and push docker image to registry
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}