Bump golang.org/x/net from 0.0.0-20220722155237-a158d28d115b to 0.17.0 in /flux-pull-request-generator #11
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
name: Docker Image CI | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Login Docker Registry | |
run: docker login ghcr.io -u ${{ secrets.REGISTRYUSERNAME }} -p ${{ secrets.REGISTRYPASSWORD }} | |
- name: Build the Docker image | |
run: docker build -f sample-app-source-repo/Dockerfile ./sample-app-source-repo --tag ghcr.io/cse-labs/platformops-ephemeral-test-env/app:${{ github.event.pull_request.head.sha }} | |
- name: Push the Docker image | |
run: docker push ghcr.io/cse-labs/platformops-ephemeral-test-env/app:${{ github.event.pull_request.head.sha }} | |
- name: install helm | |
uses: Azure/setup-helm@v1 | |
with: | |
version: 3.9.2 | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: create helm package | |
run: | | |
helm package --version 0.0.${{ github.event.number }} sample-app-source-repo/charts/app | |
- name: push helm artefact to ghcr | |
run: helm push $GITHUB_WORKSPACE/app-0.0.${{ github.event.number }}.tgz oci://ghcr.io/cse-labs/platformops-ephemeral-test-env/helm | |