Skip to content

Commit

Permalink
fix1
Browse files Browse the repository at this point in the history
  • Loading branch information
aali309 committed Oct 30, 2023
1 parent a27a821 commit 55d96a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/ci-build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,7 @@ jobs:
- name: maven-settings
uses: s4u/maven-settings-action@v2
with:
githubServer: false
- name: ghcr login
uses: redhat-actions/podman-login@v1
with:
registry: ghcr.io/${{ github.repository_owner }}
username: ${{ github.event.comment.user.login }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: skjolber/maven-cache-github-action@v1
with:
step: restore
githubServer: true
- run: git submodule init
- run: git submodule update
- run: mvn -B -U -Dbuild.arch=${{ inputs.build-arch }} clean package
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/push-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ jobs:
checkout-ref: ${{ github.event.pull_request.head.ref }}
secrets: inherit

build-and-test-amd64:
build-amd64:
uses: ./.github/workflows/ci-build-image.yml
secrets: inherit
with:
build-arch: amd64

build-and-test-arm64:
build-arm64:
uses: ./.github/workflows/ci-build-image.yml
secrets: inherit
with:
build-arch: arm64

push-to-quay:
runs-on: ubuntu-latest
needs: [code-analysis, build-and-test-amd64, build-and-test-arm64]
needs: [code-analysis, build-amd64, build-arm64]
env:
CRYOSTAT_IMG: quay.io/cryostat/cryostat
if: always()
Expand Down

0 comments on commit 55d96a1

Please sign in to comment.