Skip to content

Bump docker/setup-buildx-action from 3.3.0 to 3.4.0 #98

Bump docker/setup-buildx-action from 3.3.0 to 3.4.0

Bump docker/setup-buildx-action from 3.3.0 to 3.4.0 #98

Workflow file for this run

name: Build Docker images
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
version: [3.2, 4.6]
jdk: [8, 11]
env:
repo: "govpf/sonar-scanner"
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Compute tags
env:
repo: ${{ env.repo }}
version: ${{ matrix.version }}
jdk: ${{ matrix.jdk }}
run: |
TAGS="${repo}:${version}-jdk-${jdk}"
if [[ $jdk == '8' ]]; then
TAGS+=",${repo}:${version}"
fi
echo 'docker_tags<<EOF' >> $GITHUB_ENV
echo "$TAGS" >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- name: Build
uses: docker/[email protected]
with:
context: .
file: ./${{ matrix.version }}/jdk-${{ matrix.jdk }}/Dockerfile
platforms: linux/amd64
pull: true
push: false
tags: ${{ env.docker_tags }}