Skip to content

chore(deps): bump dawidd6/action-download-artifact from 5 to 6 #928

chore(deps): bump dawidd6/action-download-artifact from 5 to 6

chore(deps): bump dawidd6/action-download-artifact from 5 to 6 #928

Workflow file for this run

# This workflow pushes the PR build to quay.io
name: Publish PR
on:
pull_request:
env:
TAG: PR-${{ github.event.number }}
jobs:
jib-push:
# Don't run for forks and dependabot because of missing secrets
if: "!(github.event.pull_request && github.event.pull_request.head.repo.fork) && github.actor != 'dependabot[bot]'"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 #v4.1.6
- name: Set up Java
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
distribution: 'temurin'
java-version: 21
cache: 'gradle'
- name: Build and Push
env:
USERNAME: ${{ secrets.QUAY_IO_USERNAME }}
PASSWORD: ${{ secrets.QUAY_IO_PASSWORD }}
run: >
./gradlew jib
-Djib.to.auth.username=${USERNAME}
-Djib.to.auth.password=${PASSWORD}
-Djib.useOnlyProjectCache=true
-Djib.console=plain
-Djib.disableUpdateChecks=true
-Djib.httpTimeout=0
-Djib.container.creationTime=USE_CURRENT_TIMESTAMP
-Djib.to.image=quay.io/sdase/mongodb-operator:${TAG}