Skip to content

Commit

Permalink
Update workflows to allow publishing to GHCR
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
  • Loading branch information
awharn committed Sep 5, 2024
1 parent c88ce39 commit 38caba3
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cli-alpine-basic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:
jobs:
build-and-deploy-alpine-basic:
uses: ./.github/workflows/docker-reusable.yaml
permissions:
packages: write
with:
name: cli-alpine-basic
path: cli/alpine-basic
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cli-alpine-minimal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:
jobs:
build-and-deploy-alpine-minimal:
uses: ./.github/workflows/docker-reusable.yaml
permissions:
packages: write
with:
name: cli-alpine-minimal
path: cli/alpine-minimal
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cli-basic-with-nvm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:
jobs:
build-and-deploy-basic-with-nvm:
uses: ./.github/workflows/docker-reusable.yaml
permissions:
packages: write
with:
name: cli-basic-with-nvm
path: cli/basic-with-nvm
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cli-basic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:
jobs:
build-and-deploy-basic:
uses: ./.github/workflows/docker-reusable.yaml
permissions:
packages: write
with:
name: cli-basic
path: cli/basic
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cli-jenkins-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:
jobs:
build-and-deploy-jenkins-agent:
uses: ./.github/workflows/docker-reusable.yaml
permissions:
packages: write
with:
name: cli-jenkins-agent
path: cli/jenkins-agent
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cli-minimal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:
jobs:
build-and-deploy-minimal:
uses: ./.github/workflows/docker-reusable.yaml
permissions:
packages: write
with:
name: cli-minimal
path: cli/minimal
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/docker-reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
build-and-deploy:
runs-on: ubuntu-latest
timeout-minutes: ${{ inputs.timeout }}

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ze-theia-slim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
outputs:
docker-tags: ${{ steps.load-env.outputs.DOCKER_TAGS }}
theia-version: ${{ steps.load-env.outputs.THEIA_VERSION }}

steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -38,6 +37,8 @@ jobs:
build-and-deploy:
needs: setup
uses: ./.github/workflows/docker-reusable.yaml
permissions:
packages: write
with:
build-args: |
THEIA_VERSION=${{ needs.setup.outputs.theia-version }}
Expand Down

0 comments on commit 38caba3

Please sign in to comment.