From abdef7f17a3521f2e8bb3e0220d4f349a2bfa2f3 Mon Sep 17 00:00:00 2001 From: Jose Costa Teixeira Date: Thu, 26 Sep 2024 22:13:39 +0200 Subject: [PATCH] Update linux-docker-build.yml --- .github/workflows/linux-docker-build.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/linux-docker-build.yml b/.github/workflows/linux-docker-build.yml index 1013bd91e..e38c57364 100644 --- a/.github/workflows/linux-docker-build.yml +++ b/.github/workflows/linux-docker-build.yml @@ -35,13 +35,9 @@ jobs: -d mysql:8 - name: Docker Build run: | - docker build \ - --tag fhirserver \ - . -# - name: Scan Code -# run: | -# export DISPLAY=0:0 -# docker run --entrypoint /work/fhirserver/utilities/codescan/codescan fhirserver /work/bootstrap + docker build \ + --tag ghcr.io/${{ github.repository_owner }}/fhirserver:nightly . + - name: Prepare ini file env: @@ -76,11 +72,4 @@ jobs: - name: Tag and push Docker image run: | - # Extract the FHIR server version from the library/version.inc file - FHIR_VERSION=$(grep -oP "FHIR_CODE_FULL_VERSION = '\K[^']+" library/version.inc) - - # Tag the Docker image with the extracted version and "latest" - docker tag fhirserver ${{ secrets.DOCKERHUB_USERNAME }}/fhirserver:nightly - - # Push both tagged images to Docker Hub docker push ghcr.io/${{ github.repository_owner }}/fhirserver:nightly