Skip to content

Commit

Permalink
Merge pull request #124 from aali309/test1
Browse files Browse the repository at this point in the history
feat(ci): test1
  • Loading branch information
aali309 authored Oct 31, 2023
2 parents 9d13d40 + 01595e0 commit 01b07e8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/ci-build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,6 @@ jobs:
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
- run: git submodule init
- run: git submodule update
- run: mvn -B -U -Dbuild.arch=${{ inputs.build-arch }} clean package
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
check-before-build:
runs-on: ubuntu-latest
if: github.repository_owner == 'cryostatio' && github.event.issue.pull_request && (startsWith(github.event.comment.body, '/build_test') || startsWith(github.event.comment.body, '/retest'))
if: github.event.issue.pull_request && (startsWith(github.event.comment.body, '/build_test') || startsWith(github.event.comment.body, '/retest'))
permissions:
pull-requests: write
steps:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/push-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,15 @@ jobs:
else
echo "tags=$IMAGE_VERSION" >> "$GITHUB_OUTPUT"
fi
if: github.repository_owner == 'cryostatio'
- name: Push to quay.io
id: push-to-quay
uses: redhat-actions/push-to-registry@v2
with:
image: cryostat
tags: ${{ steps.create-manifest.outputs.tags }}
registry: quay.io/cryostat
username: cryostat+bot
password: ${{ secrets.REGISTRY_PASSWORD }}
if: github.repository_owner == 'cryostatio'
- name: Print image URL
run: echo "Image pushed to ${{ steps.push-to-quay.outputs.registry-paths }}"
if: github.repository_owner == 'cryostatio'

0 comments on commit 01b07e8

Please sign in to comment.