Skip to content

chore(pre-commit): update ruff to v0.11.9 #171

chore(pre-commit): update ruff to v0.11.9

chore(pre-commit): update ruff to v0.11.9 #171

name: update-docker-images
# Update Docker images when the set of commands required present for testing
# change. This is not perfect as it would be good to have the new commands
# installed already at PR time, and at least at time the change lands in the
# default branch. That way it'd be tested immediately then with images
# containing it, instead of later along with some other, completely unrelated
# change.
on:
push:
paths:
- test/test-cmd-list.txt
- test/docker/*/Dockerfile
- test/docker/*/install-packages.sh
workflow_dispatch:
jobs:
update-test-image:
runs-on: ubuntu-latest
if: github.repository_owner == 'scop' && github.ref == 'refs/heads/main'
strategy:
matrix:
include:
- dist: alpine
- dist: centos7
- dist: debian10
- dist: fedoradev
- dist: ubuntu14
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
with:
registry: ghcr.io
username: ${{github.repository_owner}}
password: ${{secrets.GITHUB_TOKEN}}
- uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
with:
context: test
file: test/docker/${{matrix.dist}}/Dockerfile
tags: |
ghcr.io/scop/bash-completion/test:${{matrix.dist}}
push: true