Skip to content

Commit

Permalink
Hardcode the ghcr.io path, rather than mess with lack of string proce…
Browse files Browse the repository at this point in the history
…ssing in github actions (#65)
  • Loading branch information
danielnaab authored Mar 11, 2024
1 parent ee8c7e4 commit cfbd16b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
TAG_NAME: ${{ github.ref_name }}
REGISTRY: ghcr.io/${{ github.repository }}
REGISTRY: ghcr.io/gsa-tts/atj-platform

jobs:
init-deploy:
Expand Down Expand Up @@ -56,9 +56,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Lower case registry variable
run: REGISTRY=$(echo "$VARIABLE" | tr '[:upper:]' '[:lower:]')

- name: Build container image
run: docker build . --platform linux/amd64 --target doj-demo --tag ${REGISTRY}/doj-demo:${TAG_NAME}

Expand Down

0 comments on commit cfbd16b

Please sign in to comment.