Skip to content

Commit

Permalink
Merge pull request #23 from controlplaneio-fluxcd/operatorhub
Browse files Browse the repository at this point in the history
ci: Set permissions to push to ghcr for `e2e-olm`
  • Loading branch information
souleb authored Jun 11, 2024
2 parents 97ccaed + 54eaa8a commit d79c540
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/e2e-olm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ permissions:
jobs:
test:
runs-on: ubuntu-latest
permissions:
packages: write # for pushing and signing container images.
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
Expand All @@ -33,6 +35,12 @@ jobs:
- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
- name: Login to GitHub Container Registry
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run OLM tests
run: |
make test-olm FLUX_OPERATOR_VERSION="${{ github.event.inputs.version }}"

0 comments on commit d79c540

Please sign in to comment.