Skip to content

Commit

Permalink
Merge pull request #3 from MathieuSoysal/MathieuSoysal-patch-JIB
Browse files Browse the repository at this point in the history
CI and CD Updates
  • Loading branch information
MathieuSoysal authored Jan 27, 2022
2 parents b433399 + d8b1eb1 commit 1413854
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/contributors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Update CONTRIBUTORS file
on:
schedule:
- cron: "0 0 1 * *"
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: minicli/action-contributors@v3
name: "Update a projects CONTRIBUTORS file"
env:
CONTRIB_REPOSITORY: 'minicli/docs'
CONTRIB_OUTPUT_FILE: 'CONTRIBUTORS.md'
- name: Create a PR
uses: peter-evans/create-pull-request@v3
with:
commit-message: Update Contributors
title: "[automated] Update Contributors File"
token: ${{ secrets.GITHUB_TOKEN }}
5 changes: 2 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ jobs:

- name: Buil JIB container and publish to GitHub Packages
run: |
mvn compile com.google.cloud.tools:jib-maven-plugin:3.1.4:build \
mvn compile com.google.cloud.tools:jib-maven-plugin:3.2.0:build \
-Djib.to.image=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.event.release.tag_name }} \
-Djib.to.auth.username=${{ env.USERNAME }} \
-Djib.to.auth.password=${{ env.PASSWORD }} \
-Djib.from.image=azul/zulu-openjdk:17-jre-headless
-Djib.to.auth.password=${{ env.PASSWORD }}

0 comments on commit 1413854

Please sign in to comment.