Skip to content

Commit

Permalink
private containers login
Browse files Browse the repository at this point in the history
  • Loading branch information
ypriverol committed Nov 18, 2024
1 parent 2c1829c commit 5d77377
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ on:
push:
branches:
- dev
pull_request:
branches:
- dev
pull_request_target:
branches:
- dev
types:
- opened
- synchronize
Expand Down Expand Up @@ -70,6 +75,11 @@ jobs:
if: matrix.exec_profile == 'singularity'
uses: eWaterCycle/setup-apptainer@main

- name: Run sensitive task
if: github.event.pull_request.base.ref == 'main'
run: |
echo "Running task with secrets."
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit 5d77377

Please sign in to comment.