File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: GPL-3.0-or-later
2
+ # Copyright © 2025 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
3
+ # Matthias Kretz <[email protected] >
4
+
5
+ name : Build only GCC 16 Image
6
+
7
+ on :
8
+ workflow_dispatch : # Allows manual trigger via GitHub UI
9
+
10
+ permissions :
11
+ contents : read
12
+ packages : write # Required to push to GHCR
13
+
14
+ jobs :
15
+ gcc16 :
16
+ runs-on : ubuntu-latest
17
+
18
+ steps :
19
+ - name : Checkout repository
20
+ uses : actions/checkout@v4
21
+
22
+ - name : Set up Docker Buildx
23
+ uses : docker/setup-buildx-action@v3
24
+
25
+ - name : Log in to GHCR
26
+ uses : docker/login-action@v3
27
+ with :
28
+ registry : ghcr.io
29
+ username : ${{ github.actor }}
30
+ password : ${{ secrets.GITHUB_TOKEN }}
31
+
32
+ - name : Build and push Docker image
33
+ uses : docker/build-push-action@v6
34
+ with :
35
+ context : .
36
+ file : Dockerfile.gcc16
37
+ push : true
38
+ tags : ghcr.io/${{ github.repository }}/gcc16
You can’t perform that action at this time.
0 commit comments