ci(deps): bump docker/setup-buildx-action from 2.10.0 to 3.0.0 #116
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: Pull request build | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: Lint project | |
permissions: | |
pull-requests: write | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Lint sources | |
uses: docker://ghcr.io/github/super-linter:slim-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
VALIDATE_ALL_CODEBASE: false | |
IGNORE_GITIGNORED_FILES: true | |
IGNORE_GENERATED_FILES: true | |
VALIDATE_DOCKERFILE: true | |
VALIDATE_EDITORCONFIG: true | |
VALIDATE_GITHUB_ACTIONS: true | |
VALIDATE_MARKDOWN: true | |
VALIDATE_SHELL_SHFMT: true | |
VALIDATE_YAML: true | |
build: | |
runs-on: ubuntu-latest | |
needs: [lint] | |
name: Build docker image | |
permissions: | |
pull-requests: read | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Setup Docker Buildx | |
uses: docker/setup-buildx-action@v3.0.0 | |
- name: Cache Docker layers | |
uses: actions/cache@v3 | |
with: | |
path: /tmp/.buildx-cache | |
key: ${{ runner.os }}-buildx-${{ hashFiles('Dockerfile', '.dockerignore') }} | |
- name: Build docker image (no push) | |
uses: docker/build-push-action@v4.2.1 | |
with: | |
context: . | |
build-args: | | |
VCS_REF=${{ github.sha }} | |
BUILD_DATE=$(date +'%Y-%m-%d') | |
VERSION=testing | |
tags: tomerfi/version-bumper:testing | |
cache-from: type=local,src=/tmp/.buildx-cache | |
cache-to: type=local,dest=/tmp/.buildx-cache | |
load: true | |
- name: Delete docker image | |
run: docker image rm tomerfi/version-bumper:testing |