Skip to content

chore: Update Dockerfile to include volume and working directory conf… #6

chore: Update Dockerfile to include volume and working directory conf…

chore: Update Dockerfile to include volume and working directory conf… #6

Workflow file for this run

name: Publish Uclid Image
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Lowercase the tag
run: |
echo "IMAGE_ROOT=${REGISTRY@L}/${IMAGE_NAME@L}" >> $GITHUB_ENV
- name: Build the Docker image
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ env.IMAGE_ROOT }}:${{ github.ref_name }}, ${{ env.IMAGE_ROOT }}:latest