Skip to content

Commit

Permalink
Fix Invalid reference format
Browse files Browse the repository at this point in the history
  • Loading branch information
bifrurcated committed Jan 14, 2024
1 parent b7dde4a commit e965041
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,10 @@ jobs:
run: mvn spring-boot:build-image -Ddockerfile=Dockerfile.layers -DskipTests

- name: Set image name
run: |
artifactId=$(echo ${GITHUB_REF#refs/heads/})
image_name="${artifactId}:${version}"
echo "IMAGE_NAME=${image_name}" >> $GITHUB_ENV
run: echo "IMAGE_NAME=wallet:$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV

- name: print IMAGE_NAME
run: echo "$IMAGE_NAME"
run: echo $IMAGE_NAME

- name: Push image
run: docker push ${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}

0 comments on commit e965041

Please sign in to comment.