File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # SPDX-License-Identifier: Apache-2.0
2+ # Copyright 2024 Intel Corporation
3+ # Copyright 2025 Canonical Ltd.
4+ name : Release Pipeline
5+
6+ on :
7+ push :
8+ branches :
9+ - main
10+ paths :
11+ - " VERSION"
12+
13+ permissions :
14+ contents : read
15+
16+ jobs :
17+ # CAUTION: Other actions depend on this name "tag-github"
18+ tag-github :
19+ uses : onosproject/.github/.github/workflows/tag-github.yml@main
20+ secrets : inherit
21+
22+ release-image :
23+ needs : tag-github
24+ if : needs.tag-github.outputs.changed == 'true'
25+ permissions :
26+ contents : read
27+ packages : write
28+ actions : read
29+ id-token : write
30+ attestations : write
31+ uses : onosproject/.github/.github/workflows/release-image.yml@main
32+ with :
33+ # Prefix the version with 'v' to follow tagging conventions
34+ docker_tag : v${{ needs.tag-github.outputs.version }}
35+ secrets : inherit
36+
37+ update-version :
38+ needs : tag-github
39+ if : needs.tag-github.outputs.changed == 'true'
40+ uses : onosproject/.github/.github/workflows/bump-version.yml@main
41+ secrets : inherit
42+ with :
43+ # Prefix the version with 'v' to follow tagging conventions
44+ version : v${{ needs.tag-github.outputs.version }}
Original file line number Diff line number Diff line change @@ -179,6 +179,14 @@ aether-roc-api-docker: # @HELP build aether-roc-api Docker image
179179 -t ${DOCKER_IMAGENAME_API}
180180 @rm -rf vendor
181181
182+ # Docker targets for compatibility with GitHub workflow
183+ docker-build : # @HELP build Docker image
184+ docker-build : images
185+
186+ docker-push : # @HELP push Docker image
187+ docker-push :
188+ docker push ${DOCKER_IMAGENAME_API}
189+
182190images : # @HELP build all Docker images
183191images : build aether-roc-api-docker
184192
You can’t perform that action at this time.
0 commit comments