Skip to content

Commit

Permalink
Build containers for branches (dexidp#3560)
Browse files Browse the repository at this point in the history
Revert the change introduced in previous PRs. For each PR, we want to build images to check that the build passes successfully.

Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
  • Loading branch information
nabokihms committed Jun 3, 2024
1 parent f3ef7d4 commit 7b37bbb
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,26 +28,9 @@ permissions:
contents: read

jobs:
config:
runs-on: ubuntu-latest
steps:
- name: Check Secrets
id: check-secrets
env:
username: ${{ secrets.DOCKER_USERNAME || '' }}
password: ${{ secrets.DOCKER_PASSWORD || '' }}
if: ${{ env.username != '' && env.password != '' }}
shell: bash
run:
echo has-secrets=1 >> "$GITHUB_OUTPUT"
outputs:
has-secrets: ${{ steps.check-secrets.outputs.has-secrets }}

container-images:
name: Container images
runs-on: ubuntu-latest
needs: config
if: ${{ needs.config.outputs.has-secrets }}
strategy:
matrix:
variant:
Expand Down

0 comments on commit 7b37bbb

Please sign in to comment.