Skip to content

Commit

Permalink
Merge pull request #103 from OPHoperHPO/development
Browse files Browse the repository at this point in the history
Fixed workflow + updated version for testing purposes
  • Loading branch information
OPHoperHPO authored Sep 24, 2022
2 parents 92f99e6 + d617039 commit 2ccf66c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Docker images"
name: Docker images

on:
release:
Expand All @@ -11,29 +11,24 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
-
name: Set up Docker BuildX
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v2
-
name: Login to Docker Hub
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Set env
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
-
name: Build and push
- name: Build and push
uses: docker/build-push-action@v3
with:
push: true
file: {context}/Dockerfile.cpu
tags: |
anodev/carvekit:latest-cpu
anodev/carvekit:${{ env-release_version }}-cpu
-
name: Build and push cuda
- name: Build and push cuda
uses: docker/build-push-action@v3
with:
push: true
Expand Down
2 changes: 1 addition & 1 deletion carvekit/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "4.0.3"
version = "4.0.4"

0 comments on commit 2ccf66c

Please sign in to comment.