Skip to content

Commit

Permalink
build all
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Jun 20, 2024
1 parent 4bae97c commit e70731a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Publish image to Docker container registries
env:
# https://github.com/docker/metadata-action?tab=readme-ov-file#environment-variables
DOCKER_METADATA_PR_HEAD_SHA: true
REPO_NAME: ${GITHUB_REPOSITORY##*/}
REPO_NAME: quantum-espresso

on:
workflow_call:
Expand Down Expand Up @@ -54,15 +54,15 @@ jobs:
# e.g. ghcr.io/cnts4sci/python
images: ${{ inputs.registry }}/${{ github.repository_owner }}/${{ env.REPO_NAME }}
tags: |
type=ref,event=pr
type=edge,enable={{is_default_branch}}
type=match,pattern=(\d{4}\.\d{4}(-.+)?),group=1
type=raw,value=v${{ env.VERSION }},enable=${{ github.ref_type == 'tag' && startsWith(github.ref_name, 'v') }}
- name: Determine source image
id: image
run: |
src=$(echo '${{ inputs.image }}'| jq -cr '.[("${{ env.REPO_NAME }}"|ascii_upcase|sub("-"; "_"; "g")) + "_IMAGE"]')
echo "src=$src" | tee -a "${GITHUB_OUTPUT}"
echo "src=${{ inputs.image }}" | tee -a "${GITHUB_OUTPUT}"
- name: Push image
uses: akhilerm/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN wget -c -O qe.tar.gz https://gitlab.com/QEF/q-e/-/archive/qe-${QE_VERSION}/q
tar xf qe.tar.gz -C qe --strip-components=1 && \
cd qe && \
LAPACK_LIBS=/usr/local/lapack/lib/liblapack.a BLAS_LIBS=/usr/local/lapack/lib/librefblas.a ./configure -enable-static && \
make -j8 pw && \
make -j8 all && \
make install


Expand Down

0 comments on commit e70731a

Please sign in to comment.