-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0f59c52
commit 718ef4c
Showing
3 changed files
with
27 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,7 @@ jobs: | |
test: | ||
needs: build | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 10 | ||
timeout-minutes: 20 | ||
permissions: | ||
packages: read | ||
contents: read | ||
|
@@ -83,11 +83,31 @@ jobs: | |
release-ghcr: | ||
if: github.repository_owner == 'ispg-group' | ||
needs: [build, test] | ||
uses: ./.github/workflows/publish.yml | ||
with: | ||
image_digest: ${{ needs.build.outputs.image_digest}} | ||
registry: ghcr.io | ||
secrets: inherit | ||
permissions: | ||
packages: write | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Login to GitHub Container Registry 🔑 | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Docker meta | ||
id: meta | ||
uses: docker/metadata-action@v5 | ||
with: | ||
images: ${{ env.REGISTRY }}${{ env.ISPG_IMAGE }} | ||
tags: | | ||
type=ref,event=pr | ||
type=edge,enable={{is_default_branch}} | ||
type=match,pattern=v(\d{4}\.\d{2}.\d+(-.+)?),group=1 | ||
- name: Push image | ||
uses: akhilerm/[email protected] | ||
with: | ||
src: ${{ env.registry }}${{ env.ISPG_IMAGE }}@${{ needs.build.outputs.image_digest }} | ||
dst: ${{ steps.meta.outputs.tags }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM aiidalab/full-stack:latest | ||
FROM aiidalab/full-stack:aiida-2.4.3 | ||
LABEL maintainer="Daniel Hollas <[email protected]>" | ||
|
||
USER root | ||
|