Merge pull request #277 from chgl/patch-1

only push build images to DockerHub
This commit is contained in:
Jens Kristian Villadsen
2021-09-27 21:14:33 +02:00
committed by GitHub

View File

@@ -17,7 +17,6 @@ jobs:
uses: crazy-max/ghaction-docker-meta@v1 uses: crazy-max/ghaction-docker-meta@v1
with: with:
images: | images: |
ghcr.io/hapifhir/hapi
docker.io/hapiproject/hapi docker.io/hapiproject/hapi
tag-sha: false tag-sha: false
tag-match: "v(.*)" tag-match: "v(.*)"
@@ -27,7 +26,6 @@ jobs:
uses: crazy-max/ghaction-docker-meta@v1 uses: crazy-max/ghaction-docker-meta@v1
with: with:
images: | images: |
ghcr.io/hapifhir/hapi
docker.io/hapiproject/hapi docker.io/hapiproject/hapi
tag-sha: false tag-sha: false
tag-match: "v(.*)" tag-match: "v(.*)"
@@ -42,13 +40,6 @@ jobs:
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
if: github.event_name != 'pull_request'
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Cache Docker layers - name: Cache Docker layers
uses: actions/cache@v2 uses: actions/cache@v2
with: with: