This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
feat: Release DKP-Insights v0.3.2 (#65) #133
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
name: Continuous Integration | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
tags: | |
- 'v*' | |
branches: | |
- 'main' | |
jobs: | |
pre-commit: | |
name: Pre-Commit Checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
token: ${{ secrets.MERGEBOT_TOKEN }} | |
- name: Pre-commit Checks | |
run: make ci.docker.run GOOS=linux GOARCH=amd64 RUN_WHAT="env SKIP=no-commit-to-branch make pre-commit" | |
unit-test: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.MERGEBOT_TOKEN }} | |
- name: Run Unit Tests | |
run: make ci.docker.run GOOS=linux GOARCH=amd64 RUN_WHAT="make test" | |
build-image-bundle: | |
name: Build Image Bundle | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.MERGEBOT_TOKEN }} | |
- name: Build Image Bundle | |
run: make ci.docker.run GOOS=linux GOARCH=amd64 RUN_WHAT="make release.save-images.tar" | |
push-ci-docker-image: | |
name: Push CI Docker Image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.MERGEBOT_TOKEN }} | |
- name: Push Image | |
env: | |
DOCKER_USERNAME: ${{ secrets.DOCKER_READ_WRITE_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_READ_WRITE_PASSWORD }} | |
run: make ci.docker.run RUN_WHAT="make ci.docker.push" |