We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c31a63 commit 7f7da29Copy full SHA for 7f7da29
1 file changed
.github/workflows/docker-tutorial-image.yml
@@ -0,0 +1,35 @@
1
+name: Docker image for tutorial
2
+
3
+on:
4
+ push:
5
+ branches: [ "tutorial" ]
6
7
+jobs:
8
+ build:
9
+ runs-on: self-hosted
10
11
+ permissions:
12
+ contents: read
13
+ packages: write
14
15
+ steps:
16
+ # Step 1: Checkout the repository
17
+ - name: Checkout Code
18
+ uses: actions/checkout@v4
19
20
+ # Step 2: Log in to GitHub Container Registry
21
+ - name: Log in to GitHub Container Registry
22
+ uses: docker/login-action@v3
23
+ with:
24
+ registry: ghcr.io
25
+ username: ${{ github.actor }}
26
+ password: ${{ secrets.GITHUB_TOKEN }}
27
28
+ # Step 3: Build and Push Docker Image
29
+ - name: Build and Push Docker Image
30
+ uses: docker/build-push-action@v4
31
32
+ context: .
33
+ file: ./Dockerfile.ksc2025
34
+ push: true
35
+ tags: ghcr.io/psal-postech/torchsim_ksc2025:latest
0 commit comments