Skip to content

chore(deps): update dependency npm-run-all2 to v8 #102

chore(deps): update dependency npm-run-all2 to v8

chore(deps): update dependency npm-run-all2 to v8 #102

Workflow file for this run

name: Docker
on:
push:
branches: [master, renovate/**]
tags:
- v*
pull_request:
jobs:
docker:
runs-on: ubuntu-latest
strategy:
matrix:
cmd: [ssl-vision-client, ssl-vision-cli]
steps:
- uses: actions/checkout@v6
- uses: docker/setup-qemu-action@v4
- uses: docker/setup-buildx-action@v4
- name: Login to Docker Hub
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Determine tag
id: tag
run: |
if [[ "$GITHUB_REF" == refs/tags/v* ]]; then
echo "tag=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
else
echo "tag=latest" >> "$GITHUB_OUTPUT"
fi
- name: Build and push
uses: docker/build-push-action@v7
with:
context: .
file: ./cmd/${{ matrix.cmd }}/Dockerfile
platforms: linux/amd64,linux/arm64
push: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') }}
tags: robocupssl/${{ matrix.cmd }}:${{ steps.tag.outputs.tag }}
cache-from: type=gha
cache-to: type=gha,mode=max