Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricebrito committed Sep 20, 2021
1 parent f66c078 commit 83d4c3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ jobs:
- uses: actions/checkout@v2
- run: echo version ${{needs.version.outputs.app-version}}
- run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
- run: echo "LC=$( echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]' " >> $GITHUB_ENV
- name: build & push snuggs image
run: |
IMAGE_ID=docker.pkg.github.com/${{ github.repository.lowercase }}/snuggs
IMAGE_ID=docker.pkg.github.com/$LC/snuggs
docker build . --file Dockerfile --tag snuggs
docker tag snuggs $IMAGE_ID:${{needs.version.outputs.app-version}}
docker push $IMAGE_ID:${{needs.version.outputs.app-version}}
Expand Down

0 comments on commit 83d4c3c

Please sign in to comment.