Skip to content

ci(deps): bump wrangler from 3.91.0 to 3.95.0 #4462

ci(deps): bump wrangler from 3.91.0 to 3.95.0

ci(deps): bump wrangler from 3.91.0 to 3.95.0 #4462

Workflow file for this run

name: test
on:
push:
branches: ["**"]
pull_request:
workflow_dispatch:
inputs: # null for another event
skip:
type: boolean
default: false
permissions: {}
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
# tool versions
# renovate: datasource=github-releases depName=docker/buildx
BUILDX_VERSION: v0.19.2
# renovate: datasource=github-releases depName=moby/buildkit
BUILDKIT_VERSION: v0.18.1
jobs:
test:
permissions:
packages: write
runs-on: ubuntu-latest
steps:
- run: |
echo 'FROM scratch' > Dockerfile
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1
with:
version: ${{ env.BUILDX_VERSION }}
driver-opts: image=moby/buildkit:${{ env.BUILDKIT_VERSION }}
- name: Log in to the Container registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- id: test-meta
name: Extract metadata (tags, labels) for Docker
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6.1
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern={{version}},suffix=-test
type=semver,pattern={{major}}.{{minor}},suffix=-test
type=semver,pattern={{major}},suffix=-test
type=edge,suffix=-test
type=ref,event=branch,suffix=-test
- id: build
name: Build and push Docker image
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6.10.0
with:
file: 'test.Dockerfile'
push: ${{ github.event_name != 'pull_request' && github.ref_name == github.event.repository.default_branch }}
platforms: linux/amd64,linux/arm64
tags: ${{ steps.test-meta.outputs.tags }}
labels: ${{ steps.test-meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
- if: ${{ github.event_name != 'pull_request' && github.ref_name == github.event.repository.default_branch }}
name: Display image digest
run: |
name=$(cut --delimiter=',' --fields=1 <<< "$NAME")
echo '```' >> $GITHUB_STEP_SUMMARY
echo "$name@$DIGEST" >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
env:
NAME: ${{ fromJson(steps.build.outputs.metadata)['image.name'] }}
DIGEST: ${{ fromJson(steps.build.outputs.metadata)['containerimage.digest'] }}