Skip to content

Commit

Permalink
feat: updated dockerImage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Schweizer-Philipp committed May 18, 2021
1 parent db7135f commit bfa61ab
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/dockerImage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,16 @@ jobs:
uses: actions/download-artifact@v2
with:
name: targetfiles
- name: Prepare Docker variables
run: |
echo "DOCKER_REGISTRY=$(echo "docker.pkg.github.com/${{ github.repository }}" | awk '{print tolower($0)}')" >> $GITHUB_ENV
echo "DOCKER_IMAGE=$(echo "${{ github.repository }}" | awk -F / '{print tolower($2)}')" >> $GITHUB_ENV
shell: bash
- name: Push to GitHub Packages
uses: docker/[email protected]
with:
username: ${{ secrets.GH_PACKAGE_RELEASE_USER }}
password: ${{ secrets.GH_PACKAGE_RELEASE_TOKEN }}
registry: docker.pkg.github.com
repository: caritasdeutschland/caritas-onlineberatung-messageservice/messageservice-image
registry: ${{ env.DOCKER_REGISTRY }}
repository: ${{ env.DOCKER_IMAGE }}
tag_with_ref: true

0 comments on commit bfa61ab

Please sign in to comment.