Update dependency org.jenkins-ci.plugins:plugin to v4.88 #533
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Maven... | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
# Note - This action is temporary being used to help drive a GitOps trial and will be removed in the future | |
# Updated with custom plugin/action (...) | |
name: Java CI with Maven | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
schedule: | |
- cron: '0 0 1 * *' | |
# The jobs... | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Build with Maven | |
run: mvn -q clean verify -Denv.DEVOPS_FRAMEWORK_UNITTESTS=true -DskipTests=true | |
docker-build: | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- uses: actions/checkout@v3 # Checkout the source | |
- name: Login to DockerHub... | |
run: | | |
echo ${{ secrets.DOCKERHUB_PASSWORD }} | \ | |
docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin | |
- name: Build Docker image | |
run: | | |
docker build . -f docker/Dockerfile -t ${{ secrets.DOCKERHUB_USERNAME }}/jenkinsdsl:latest | |
docker push ${{ secrets.DOCKERHUB_USERNAME }}/jenkinsdsl:latest | |
# Action to get the digest... | |
- name: GitOps Helm Chart Update(s) | |
uses: tpayne/github-actions/productmanifest@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.XGITHUB_PAT }} | |
with: | |
gitops-repo-url: https://github.com/tpayne/codefresh-csdp-samples | |
manifest-file: helm/dev/values.yaml | |
github-username: ${{ secrets.XGITHUB_USER }} | |
github-email: ${{ secrets.XGITHUB_EMAIL }} | |
image-list: jenkinscd-framework-deployment:${{ secrets.DOCKERHUB_USERNAME }}/jenkinsdsl:latest | |
git-token: ${{ secrets.XGITHUB_PAT }} | |
registry-server: docker.io | |
docker-username: ${{ secrets.DOCKERHUB_USERNAME }} | |
docker-password: ${{ secrets.DOCKERHUB_PASSWORD }} | |
# End of job |