fix: Set correct image name for build workflow #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |