Skip to content

fix: update for using on bare metal without GHA #39

fix: update for using on bare metal without GHA

fix: update for using on bare metal without GHA #39

Workflow file for this run

name: Pull Request
on:
pull_request:
branches:
- main
paths:
- "Dockerfile"
jobs:
conventional-commits-pr:
if: "github.event.pull_request.draft == false"
name: Validate Conventional Commits PR
runs-on: ubuntu-latest
steps:
- uses: crazy-max/ghaction-dump-context@v2
- uses: catalystcommunity/action-validate-conventional-commits-pr@v1
test-build:
name: Test the Build succeeds
runs-on: ubuntu-latest
needs:
- conventional-commits-pr
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.AUTOMATION_PAT }}
fetch-depth: 0
- name: Get semver-tags
run: |
wget -c https://github.com/catalystcommunity/semver-tags/releases/download/v0.3.3/semver-tags.tar.gz -O - | tar -xz
- name: Semver Tags Run
id: semver-tags
run: |
./.github/scripts/do-image-release.sh dryrun
- name: Setup Docker buildx
uses: docker/setup-buildx-action@v1
with:
install: true
- name: Build image
id: build-image
uses: docker/build-push-action@v4
with:
# tags: ${{ steps.get-tags.outputs.tags }}
context: .
push: false
cache-from: type=gha,mode=max
cache-to: type=gha,mode=max
no-cache: ${{ contains(github.event.head_commit.message, 'no-cache') }}
file: Dockerfile