Skip to content

Commit 33a38b9

Browse files
committed
testing push perm
1 parent 1342646 commit 33a38b9

File tree

2 files changed

+33
-10
lines changed

2 files changed

+33
-10
lines changed

.github/workflows/ci.yaml

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
pull_request:
66
branches: ['main']
77

8+
env:
9+
REGISTRY: ghcr.io
10+
IMAGE_NAME: ${{ github.repository }}
811

912
# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
1013
jobs:
@@ -30,6 +33,13 @@ jobs:
3033

3134
- name: Checkout repository
3235
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 }}
3343

3444
- name: Option
3545
id: option
@@ -59,21 +69,31 @@ jobs:
5969
# DISTRO_ARCH=${{ matrix.arch }}
6070
# DISTRO_VER=22.04
6171
# DISTRO_NAME=ubuntu
62-
72+
6373
- name: Build and push private NAMD Docker image
6474
uses: docker/build-push-action@v5
6575
with:
6676
context: ./docker/namd
67-
file: ./docker/namd/${{ env.DOCKERFILE }}
77+
file: ./docker/namd/TMP.Dockerfile
6878
push: true
6979
# REMOVEME
7080
tags: ghcr.io/becksteinlab/streaming-namd-docker:main-${{ matrix.build }}
7181
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 }}

docker/namd/TMP.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM alpine:latest
2+
RUN apk add --no-cache bash
3+
CMD ["bash"]

0 commit comments

Comments
 (0)