Skip to content

fix(deps): update knative.dev/pkg digest to 215048a #533

fix(deps): update knative.dev/pkg digest to 215048a

fix(deps): update knative.dev/pkg digest to 215048a #533

Workflow file for this run

name: Skaffold - test
on:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Skaffold Build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
strategy:
matrix:
platform: [linux/amd64, linux/arm64]
steps:
- name: Checkout sources
uses: actions/checkout@v4
with: # we need it for skaffold build
fetch-depth: '0'
fetch-tags: 'true'
- uses: dorny/paths-filter@v3
id: changes
with:
filters: |
cloudevents-server:
- 'cloudevents-server/**'
tibuild:
- 'tibuild/**'
dl:
- 'dl/**'
# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
# https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup skaffold
run: |
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v2.8.0/skaffold-linux-amd64 && \
sudo install skaffold /usr/local/bin/
- name: Cache layers
uses: actions/cache@v4
with:
path: "${{ github.workspace }}/.skaffold/cache"
key: skaffold-${{ matrix.platform }}-${{ github.sha }}
restore-keys: |
skaffold-${{ matrix.platform }}-
skaffold-
- name: Build cloudevents-server image
if: steps.changes.outputs.cloudevents-server == 'true'
working-directory: cloudevents-server
run: |
skaffold build \
--push=false \
--platform ${{ matrix.platform }} \
--profile local-docker \
--default-repo ghcr.io/pingcap-qe/ee-apps
- name: Build tibuild image
if: steps.changes.outputs.tibuild == 'true'
working-directory: tibuild
run: |
skaffold build \
--push=false \
--platform ${{ matrix.platform }} \
--profile local-docker \
--default-repo ghcr.io/pingcap-qe/ee-apps
- name: Build dl image
if: steps.changes.outputs.dl == 'true'
working-directory: dl
run: |
skaffold build \
--push=false \
--platform ${{ matrix.platform }} \
--profile local-docker \
--default-repo ghcr.io/pingcap-qe/ee-apps