Skip to content

Commit 18c3fca

Browse files
committed
Add workflow to manually build only GCC 16
ChangeLog: * .github/workflows/build-gcc16.yml: New file.
1 parent 23be6b1 commit 18c3fca

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/build-gcc16.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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

0 commit comments

Comments
 (0)