Skip to content

#22: one more minor fix in docker-image.yml #4

#22: one more minor fix in docker-image.yml

#22: one more minor fix in docker-image.yml #4

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
jobs:
build_n_push_to_registry:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: thedominux/pentaract
tags: |
type=raw,value=latest
type=raw,value={{date 'YYYYMMDD-HHmmss'}}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}