Skip to content

Commit

Permalink
Add login to actions and add registry to container spec in action
Browse files Browse the repository at this point in the history
  • Loading branch information
glormph committed May 29, 2024
1 parent aa56c01 commit f868e4b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release_container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,16 @@ jobs:
id: get-version
run: echo "wf_version=$(nextflow config -value manifest.version)" >> $GITHUB_OUTPUT

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build container
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: lehtiolab/nfhelaqc:${{ steps.get-version.outputs.wf_version }}
tags: ghcr.io/lehtiolab/nfhelaqc:${{ steps.get-version.outputs.wf_version }}

0 comments on commit f868e4b

Please sign in to comment.