Allow ParameterPack to be constructed from elements that are not de…
#1911
This file contains hidden or 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
| name: Docker | |
| on: | |
| push: | |
| branches: | |
| - master | |
| tags: | |
| - v[0-9]* | |
| pull_request: | |
| branches: | |
| - master | |
| schedule: | |
| - cron: '0 8 * * FRI' | |
| concurrency: | |
| group: ${ {github.event_name }}-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{github.event_name == 'pull_request'}} | |
| jobs: | |
| Build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout kokkos | |
| uses: actions/checkout@v3 | |
| with: | |
| repository: kokkos/kokkos | |
| ref: 4.7.00 | |
| path: kokkos | |
| - name: Checkout arborx | |
| uses: actions/checkout@v3 | |
| with: | |
| repository: arborx/ArborX | |
| ref: v1.7 | |
| path: arborx | |
| - name: Checkout heffte | |
| uses: actions/checkout@v3 | |
| with: | |
| repository: icl-utk-edu/heffte | |
| ref: v2.3.0 | |
| path: heffte | |
| - name: Checkout hypre | |
| uses: actions/checkout@v3 | |
| with: | |
| repository: hypre-space/hypre | |
| ref: v2.33.0 | |
| path: hypre | |
| - name: Checkout Cabana | |
| uses: actions/checkout@v3 | |
| with: | |
| path: cabana | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Prepare | |
| id: prep | |
| run: | | |
| if [[ $GITHUB_REF == refs/tags/* ]]; then | |
| VERSION=${GITHUB_REF#refs/tags/} | |
| elif [[ $GITHUB_REF == refs/heads/* ]]; then | |
| VERSION=$(echo ${GITHUB_REF#refs/heads/} | sed -r 's#/+#-#g') | |
| elif [[ $GITHUB_REF == refs/pull/* ]]; then | |
| VERSION=pr-${{ github.event.number }} | |
| fi | |
| if [[ $VERSION = master ]]; then | |
| VERSION=latest | |
| fi | |
| echo VERSION=${VERSION} | |
| echo ::set-output name=version::${VERSION} | |
| - name: Build and Push Docker Image | |
| id: docker_build | |
| uses: docker/build-push-action@v5 | |
| with: | |
| context: ${{github.workspace}} | |
| file: cabana/.github/workflows/Dockerfile | |
| push: ${{ github.event_name == 'push' || github.event_name == 'schedule' }} | |
| tags: ghcr.io/ecp-copa/cabana:${{ steps.prep.outputs.version }} |