[Snyk] Security upgrade @kubernetes/client-node from 0.14.3 to 1.0.0 #16
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 is a basic workflow to help you get started with Actions | |
name: CI | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push or pull request events but only for the main branch | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
build: | |
name: Build and push image | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build Image | |
id: build-image | |
uses: redhat-actions/buildah-build@v2 | |
with: | |
image: ts-operator | |
tags: latest ${{ github.sha }} | |
dockerfiles: | | |
./Dockerfile | |
# Podman Login action (https://github.com/redhat-actions/podman-login) also be used to log in, | |
# in which case 'username' and 'password' can be omitted. | |
#- name: Push To quay.io | |
# id: push-to-quay | |
# uses: redhat-actions/push-to-registry@v2 | |
# with: | |
# image: ${{ steps.build-image.outputs.image }} | |
# tags: ${{ steps.build-image.outputs.tags }} | |
# registry: quay.io/gradde | |
# username: ${{ secrets.QUAY_LOGIN }} | |
# password: ${{ secrets.QUAY_PASSWORD }} | |
#- name: Print image url | |
# run: echo "Image pushed to ${{ steps.push-to-quay.outputs.registry-paths }}" |