Skip to content

chore(deps): update dependency eslint-plugin-jest to v27.6.1 #528

chore(deps): update dependency eslint-plugin-jest to v27.6.1

chore(deps): update dependency eslint-plugin-jest to v27.6.1 #528

Workflow file for this run

name: e2e-kaniko
on:
pull_request:
paths:
- src/**
- tests/**
- '*.json'
- action.yaml
- .github/workflows/e2e-kaniko.yaml
push:
branches:
- main
tags:
- v*
paths:
- src/**
- tests/**
- '*.json'
- action.yaml
- .github/workflows/e2e-kaniko.yaml
jobs:
build-linux-amd64:
runs-on: ubuntu-latest
timeout-minutes: 10
outputs:
image-uri: ghcr.io/${{ github.repository }}/e2e@${{ steps.build.outputs.digest }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/metadata-action@9dc751fe249ad99385a2583ee0d084c400eee04e # v5.4.0
id: metadata
with:
images: ghcr.io/${{ github.repository }}/e2e
# avoid overwriting the latest tag because metadata-action does not add a suffix to it
flavor: latest=false,suffix=-kaniko-amd64
- uses: int128/kaniko-action@6ad40c562ffcbd01796a526d19ef65339e6d5ac0 # v1.35.0
id: build
with:
push: true
context: tests/fixtures
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
build:
needs:
- build-linux-amd64
runs-on: ubuntu-latest
timeout-minutes: 10
outputs:
image-uri: ghcr.io/${{ github.repository }}/e2e@${{ steps.build.outputs.digest }}
steps:
# build the action
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: 20
cache: yarn
- run: yarn
- run: yarn build
- run: yarn package
# run the action
- name: docker-manifest-create-action (dry-run)
uses: ./
with:
push: false
sources: |
${{ needs.build-linux-amd64.outputs.image-uri }}
- uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/metadata-action@9dc751fe249ad99385a2583ee0d084c400eee04e # v5.4.0
id: metadata
with:
images: ghcr.io/${{ github.repository }}/e2e
flavor: latest=false,suffix=-kaniko
- name: docker-manifest-create-action@v2
id: build
uses: ./
with:
tags: ${{ steps.metadata.outputs.tags }}
sources: |
${{ needs.build-linux-amd64.outputs.image-uri }}
test-image:
needs: build
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: docker run --rm '${{ needs.build.outputs.image-uri }}'