Skip to content

fix: Set correct image name for build workflow #3

fix: Set correct image name for build workflow

fix: Set correct image name for build workflow #3

name: FUT Infrastructure IG Publisher image build
on:
workflow_dispatch: # Enable manual run on main
branches:
- main
push:
branches:
- main
pull_request:
branches:
- main
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
CONTAINER_DESCRIPTION: "Non-root FHIR ig-publisher container"
DATE_TAG: "$(date +'%Y-%m-%d')"
jobs:
container:
name: Container build & push
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: build
uses: aevea/[email protected]
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
image: ig-publisher
tag_with_latest: true
tag: ${{ env.DATE_TAG }}