Skip to content

Commit 68e12cf

Browse files
authored
feat: manually trigger dev artifacts push (#40)
1 parent 01b10c4 commit 68e12cf

File tree

2 files changed

+56
-2
lines changed

2 files changed

+56
-2
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# SPDX-FileCopyrightText: (C) 2025 Intel Corporation
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
---
5+
6+
name: Push development artifacts to the Release Service
7+
8+
on:
9+
# manual trigger from the Actions tab
10+
workflow_dispatch:
11+
12+
env:
13+
VERSION_SUFFIX: -test
14+
15+
permissions: {}
16+
17+
jobs:
18+
dev-artifacts-push:
19+
runs-on: ubuntu-latest
20+
permissions:
21+
contents: read
22+
steps:
23+
- name: Checkout code
24+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+
with:
26+
persist-credentials: false
27+
28+
- name: Build Docker image
29+
run: |
30+
make docker-build
31+
32+
- name: Build Helm chart
33+
run: |
34+
make helm-build
35+
36+
- name: Configure AWS credentials
37+
uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.0.1
38+
with:
39+
aws-access-key-id: ${{ secrets.NO_AUTH_ECR_PUSH_USERNAME }}
40+
aws-secret-access-key: ${{ secrets.NO_AUTH_ECR_PUSH_PASSWD }}
41+
aws-region: us-west-2
42+
43+
- name: Login to Amazon ECR
44+
uses: aws-actions/amazon-ecr-login@062b18b96a7aff071d4dc91bc00c4c1a7945b076 # v2.0.1
45+
with:
46+
registries: "080137407410"
47+
48+
- name: Push Docker image
49+
run: |
50+
make docker-push
51+
52+
- name: Push Helm chart
53+
run: |
54+
make helm-push

.github/workflows/pre-merge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ jobs:
9292
run_test: false
9393
run_validate_clean_folder: false
9494
run_docker_build: true
95-
run_docker_push: true
95+
run_docker_push: false
9696
run_helm_build: true
97-
run_helm_push: true
97+
run_helm_push: false
9898
run_artifact: false
9999
version_suffix: "-pr-${{ github.event.number }}"
100100
secrets: inherit # zizmor: ignore[secrets-inherit]

0 commit comments

Comments
 (0)