Skip to content

Commit 7dc658e

Browse files
authored
🔄 synced local '.github/workflows' with remote 'gitops/shared-files/configurations-new-devex/workflows' (#2)
Co-authored-by: upbound-bot <null>
1 parent 8f9382b commit 7dc658e

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

‎.github/workflows/ci.yaml‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@ env:
1414
UP_API_TOKEN: ${{ secrets.UP_API_TOKEN }}
1515
UP_ROBOT_ID: ${{ secrets.UP_ROBOT_ID }}
1616
UP_ORG: ${{ secrets.UP_ORG }}
17+
XPKG_REGISTRY: xpkg.upbound.io
1718

1819
jobs:
1920
deploy:
2021
runs-on: ubuntu-latest
2122
steps:
2223
- name: Checkout
2324
id: checkout
24-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
25+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
2526

2627
- name: Install and login with up
2728
if: env.UP_API_TOKEN != '' && env.UP_ORG != ''
@@ -32,9 +33,9 @@ jobs:
3233

3334
# doesn't work with plain token when pushing otherwise
3435
- name: Login to xpkg with robot
35-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3
36+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
3637
with:
37-
registry: xpkg.upbound.io
38+
registry: ${{ env.XPKG_REGISTRY }}
3839
username: ${{ env.UP_ROBOT_ID }}
3940
password: ${{ env.UP_API_TOKEN }}
4041

@@ -46,3 +47,10 @@ jobs:
4647
tag: ${{ inputs.version || '' }}
4748
# login-check does `up org list` which doesn't work with a robot-token
4849
skip-login-check: true
50+
51+
- name: Append icon overlay to package
52+
if: env.UP_API_TOKEN != '' && hashFiles('./extensions') != '' && inputs.version != ''
53+
run: |
54+
PROJECT_NAME=$(yq '.metadata.name' upbound.yaml)
55+
PACKAGE_REF="${{ env.XPKG_REGISTRY }}/${{ env.UP_ORG }}/${PROJECT_NAME}:${{ inputs.version }}"
56+
up alpha xpkg append --extensions-root=./extensions ${PACKAGE_REF}

‎.github/workflows/composition-tests.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- name: Checkout
1414
id: checkout
15-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
15+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
1616

1717
- name: Install up
1818
uses: upbound/action-up@53fe6395637d884c80d2bbc8c2d75d0ece776ced # v1

‎.github/workflows/e2e.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
steps:
2323
- name: Checkout
2424
id: checkout
25-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
25+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
2626
with:
2727
ref: ${{ github.event.pull_request.head.sha }}
2828

@@ -35,7 +35,7 @@ jobs:
3535

3636
# doesn't work with plain token when pushing otherwise
3737
- name: Login to xpkg with robot
38-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3
38+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
3939
with:
4040
registry: xpkg.upbound.io
4141
username: ${{ env.UP_ROBOT_ID }}

‎.github/workflows/tag.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
19+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
2020

2121
- name: Create Tag
2222
uses: negz/create-tag@39bae1e0932567a58c20dea5a1a0d18358503320 # v1

‎.github/workflows/yamllint.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
name: runner / yamllint
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
8+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
99
- name: yamllint
1010
uses: reviewdog/action-yamllint@f01d8a48fd8d89f89895499fca2cff09f9e9e8c0 # v1.21.0
1111
with:

0 commit comments

Comments
 (0)