Skip to content

Merge pull request #60 from slr71/multiyear-subscriptions #2

Merge pull request #60 from slr71/multiyear-subscriptions

Merge pull request #60 from slr71/multiyear-subscriptions #2

Workflow file for this run

name: skaffold-build-release
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
pipeline:
name: Skaffold Docker build
runs-on: ubuntu-20.04
steps:
- name: Checkout Repo
id: checkout
uses: actions/checkout@v4
- name: Harbor Login
id: harbor_login
uses: docker/login-action@v3
with:
registry: harbor.cyverse.org
username: ${{ secrets.HARBOR_USERNAME }}
password: ${{ secrets.HARBOR_PASSWORD }}
- name: Install Kubernetes Tools
id: install_k8s_tools
uses: yokawasa/[email protected]
- name: Build Docker images
id: build
run: |
skaffold build --file-output build.json
- name: Build manifest tarball
id: build_manifest_tarball
run: |
tar -czpvf deploy-info.tar.gz build.json skaffold.yaml k8s
- uses: ncipollo/release-action@v1
with:
artifacts: "build.json,deploy-info.tar.gz"