FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Control/.github/workflows/control-operator-release.yml at master · AliceO2Group/Control · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
AliceO2Group
/
Control
Public
Notifications
You must be signed in to change notification settings
Fork
24
Star
7
Code
Pull requests
5
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
Control
/
.github
/
workflows
/
control-operator-release.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
59 lines (48 loc) · 1.6 KB
Breadcrumbs
Control
/
.github
/
workflows
/
control-operator-release.yml
Copy path
File metadata and controls
59 lines (48 loc) · 1.6 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name
:
AliECS Control Operator Release
on
:
push
:
tags
:
-
'
control-operator-v*
'
permissions
:
contents
:
read
packages
:
write
defaults
:
run
:
working-directory
:
control-operator
jobs
:
release
:
name
:
Test, Build & Publish Images
runs-on
:
ubuntu-24.04
steps
:
-
uses
:
actions/checkout@v7
-
uses
:
actions/setup-go@v7
with
:
go-version
:
'
1.25.0
'
-
uses
:
arduino/setup-protoc@v3
with
:
version
:
'
35.1
'
repo-token
:
${{ secrets.GITHUB_TOKEN }}
-
name
:
Derive version from tag
id
:
version
run
:
|
echo "version=${GITHUB_REF_NAME#control-operator-v}" >> "$GITHUB_OUTPUT"
-
name
:
Verify tag matches Makefile VERSION
run
:
|
MAKEFILE_VERSION=$(sed -n 's/^VERSION ?= //p' Makefile)
if [ "$MAKEFILE_VERSION" != "${{ steps.version.outputs.version }}" ]; then
echo "Tag version (${{ steps.version.outputs.version }}) does not match Makefile VERSION ($MAKEFILE_VERSION)" >&2
exit 1
fi
-
name
:
Run tests
run
:
make test
-
name
:
Log in to GHCR
uses
:
docker/login-action@v4
with
:
registry
:
ghcr.io
username
:
${{ github.actor }}
password
:
${{ secrets.GITHUB_TOKEN }}
-
name
:
Build & push images
run
:
|
make docker-build docker-push \
TASK_IMG=ghcr.io/aliceo2group/control-operator/task-manager:v${{ steps.version.outputs.version }} \
ENVIRONMENT_IMG=ghcr.io/aliceo2group/control-operator/environment-manager:v${{ steps.version.outputs.version }}
Back
|
FazBrowse Home
|
New Git URL