Skip to content

Commit

Permalink
Merge pull request #86 from rancher/lts-work
Browse files Browse the repository at this point in the history
LTS work
  • Loading branch information
rafaelbreno authored Feb 10, 2025
2 parents cb3bdd6 + cb0cc53 commit 947fbce
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,25 @@ jobs:
secret/data/github/repo/${{ github.repository }}/github/release-app-credentials appId | APP_ID ;
secret/data/github/repo/${{ github.repository }}/github/release-app-credentials privateKey | PRIVATE_KEY
- name: Create App Token
uses: actions/create-github-app-token@v1
id: app-token
with:
repositories: release-multus-cni
app-id: ${{ env.APP_ID }}
private-key: ${{ env.PRIVATE_KEY }}

- name: Build and push thin plugin image
uses: rancher/ecm-distro-tools/actions/publish-image@master
env:
SRC: x-access-token:${{ steps.app-token.outputs.token }}@github.com/rancher/release-multus-cni
with:
image: hardened-multus-cni
tag: ${{ github.event.release.tag_name }}
public-repo: rancher
public-username: ${{ env.DOCKER_USERNAME }}
public-password: ${{ env.DOCKER_PASSWORD }}
make-target: push-image-thin

push-to-public: false

prime-repo: rancher
prime-registry: ${{ env.PRIME_REGISTRY }}
prime-username: ${{ env.PRIME_REGISTRY_USERNAME }}
Expand All @@ -55,11 +64,10 @@ jobs:
with:
image: hardened-multus-thick
tag: ${{ github.event.release.tag_name }}
public-repo: rancher
public-username: ${{ env.DOCKER_USERNAME }}
public-password: ${{ env.DOCKER_PASSWORD }}
make-target: push-image-thick

push-to-public: false

prime-repo: rancher
prime-registry: ${{ env.PRIME_REGISTRY }}
prime-username: ${{ env.PRIME_REGISTRY_USERNAME }}
Expand Down

0 comments on commit 947fbce

Please sign in to comment.