Update ci.yml

This commit is contained in:
Thomas Krijnen
2021-03-14 11:59:36 +01:00
committed by GitHub
parent 708da97bbd
commit a5fe3e77e7
+5 -6
View File
@@ -84,18 +84,17 @@ jobs:
name: Set up Docker Buildx name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v1
- -
name: Login to GitHub Container Registry name: Login to Dockerhub
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:
registry: ghcr.io username: aecgeeks
username: ${{ github.repository_owner }} password: ${{ secrets.DOCKER_HUB_TOKEN }}
password: ${{ secrets.CR_PAT }}
- -
name: Build container image name: Build container image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: artifacts context: artifacts
repository: IfcOpenShell/ifcopenshell repository: aecgeeks/ifcopenshell
tags: ghcr.io/IfcOpenShell/ifcopenshell:latest tags: ifcopenshell:latest
file: ./Dockerfile file: ./Dockerfile
push: true push: true