Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaffter committed Oct 4, 2024
1 parent 1acb675 commit 2802d4b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- 'openchallenges/v*'

env:
DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
DOCKER_USERNAME: ${{ github.actor }}
VERSION: ''

jobs:
Expand All @@ -21,7 +23,7 @@ jobs:
id: extract_version
run: |
# Get the tag name and remove 'openchallenges/' prefix
VERSION=${GITHUB_REF#refs/tags/openchallenges/}
VERSION=${GITHUB_REF#refs/tags/openchallenges/v}
echo "VERSION=${VERSION}" >> $GITHUB_ENV
echo "Docker image tag will be: ${VERSION}"
Expand Down
7 changes: 4 additions & 3 deletions apps/openchallenges/apex/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@
"options": {
"context": "{projectRoot}",
"metadata": {
"images": ["ghcr.io/sage-bionetworks/{projectName}"],
"tags": ["type=edge,branch=main", "type=raw,value=local", "type=sha"]
"images": ["ghcr.io/sage-bionetworks/{projectName}"]
},
"push": false
},
"configurations": {
"local": {},
"local": {
"tags": ["type=edge,branch=main", "type=raw,value=local", "type=sha"]
},
"ci": {
"cache-from": ["type=gha"],
"cache-to": ["type=gha,mode=max"],
Expand Down

0 comments on commit 2802d4b

Please sign in to comment.