Skip to content

Commit

Permalink
Pushing docker image now
Browse files Browse the repository at this point in the history
  • Loading branch information
BorntraegerMarc committed Oct 2, 2020
1 parent 56a5e7b commit a9bfe91
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Get the version
- name: Save tag version for re-usage later on
id: getVersion
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}

- run: docker build -t ghcr.io/komed-health/pwgen .

- run: docker tag ghcr.io/komed-health/pwgen ghcr.io/komed-health/pwgen:${{ steps.getVersion.outputs.VERSION }}

- name: Login to GitHub Cloud Registry
run: echo ${{ secrets.ORG_GITHUB_CONTAINER_REGISTRY_TOKEN }} | docker login ghcr.io -u BorntraegerMarc --password-stdin

- run: docker push ghcr.io/komed-health/pwgen
- run: docker push ghcr.io/komed-health/pwgen:${{ steps.getVersion.outputs.VERSION }}

0 comments on commit a9bfe91

Please sign in to comment.