|
5 | 5 | pull_request: |
6 | 6 | branches: ['main'] |
7 | 7 |
|
| 8 | +env: |
| 9 | + REGISTRY: ghcr.io |
| 10 | + IMAGE_NAME: ${{ github.repository }} |
8 | 11 |
|
9 | 12 | # There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu. |
10 | 13 | jobs: |
|
30 | 33 |
|
31 | 34 | - name: Checkout repository |
32 | 35 | uses: actions/checkout@v4 |
| 36 | + |
| 37 | + - name: Log in to the Container registry |
| 38 | + uses: docker/login-action@v3 |
| 39 | + with: |
| 40 | + registry: ${{ env.REGISTRY }} |
| 41 | + username: ${{ github.actor }} |
| 42 | + password: ${{ secrets.GITHUB_TOKEN }} |
33 | 43 |
|
34 | 44 | - name: Option |
35 | 45 | id: option |
@@ -59,21 +69,31 @@ jobs: |
59 | 69 | # DISTRO_ARCH=${{ matrix.arch }} |
60 | 70 | # DISTRO_VER=22.04 |
61 | 71 | # DISTRO_NAME=ubuntu |
62 | | - |
| 72 | + |
63 | 73 | - name: Build and push private NAMD Docker image |
64 | 74 | uses: docker/build-push-action@v5 |
65 | 75 | with: |
66 | 76 | context: ./docker/namd |
67 | | - file: ./docker/namd/${{ env.DOCKERFILE }} |
| 77 | + file: ./docker/namd/TMP.Dockerfile |
68 | 78 | push: true |
69 | 79 | # REMOVEME |
70 | 80 | tags: ghcr.io/becksteinlab/streaming-namd-docker:main-${{ matrix.build }} |
71 | 81 | labels: ${{ steps.meta.outputs.labels }} |
72 | | - build-args: | |
73 | | - NAMD_OPTS="${{ env.NAMD_OPTS }}" |
74 | | - CUDA_VER=12.4.1 |
75 | | - DISTRO_ARCH=${{ matrix.arch }} |
76 | | - DISTRO_VER=22.04 |
77 | | - DISTRO_NAME=ubuntu |
78 | | - secrets: | |
79 | | - NAMD_ACCESS_TOKEN=${{ secrets.NAMD_ACCESS_TOKEN }} |
| 82 | + |
| 83 | + # - name: Build and push private NAMD Docker image |
| 84 | + # uses: docker/build-push-action@v5 |
| 85 | + # with: |
| 86 | + # context: ./docker/namd |
| 87 | + # file: ./docker/namd/${{ env.DOCKERFILE }} |
| 88 | + # push: true |
| 89 | + # # REMOVEME |
| 90 | + # tags: ghcr.io/becksteinlab/streaming-namd-docker:main-${{ matrix.build }} |
| 91 | + # labels: ${{ steps.meta.outputs.labels }} |
| 92 | + # build-args: | |
| 93 | + # NAMD_OPTS="${{ env.NAMD_OPTS }}" |
| 94 | + # CUDA_VER=12.4.1 |
| 95 | + # DISTRO_ARCH=${{ matrix.arch }} |
| 96 | + # DISTRO_VER=22.04 |
| 97 | + # DISTRO_NAME=ubuntu |
| 98 | + # secrets: | |
| 99 | + # NAMD_ACCESS_TOKEN=${{ secrets.NAMD_ACCESS_TOKEN }} |
0 commit comments