Skip to content

Commit

Permalink
Update linux-docker-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
costateixeira committed Sep 26, 2024
1 parent dd89c5c commit abdef7f
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/linux-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit abdef7f

Please sign in to comment.