chore(deps): update ghcr.io/containerbase/base docker tag to v9.12.2 … #8113
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: linux-builds | |
on: | |
push: | |
env: | |
OWNER: ${{ github.repository_owner }} | |
BUILDKIT_PROGRESS: plain | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
packages: write | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
strategy: | |
matrix: | |
file: | |
- verdaccio | |
- node | |
- forgejo | |
- gitlab-ce | |
- gitlab-runner | |
- github-runner | |
- gitea | |
- keydb | |
env: | |
FILE: ${{ matrix.file }} | |
IMAGE: ghcr.io/${{ github.repository_owner }}/${{ matrix.file }} | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: docker-config | |
uses: containerbase/internal-tools@1a50a8117a939f804e316db9394efc22158e061a # v1.21.13 | |
with: | |
command: docker-config | |
- name: Build the Docker image | |
run: docker buildx bake test | |
- name: Test run | |
run: docker-compose --file docker-compose.test.yml run sut | |
working-directory: ./linux/${{ env.FILE }} | |
- name: Log into registry | |
if: github.ref == 'refs/heads/main' | |
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin | |
- name: Publish the Docker image | |
if: github.ref == 'refs/heads/main' | |
run: docker buildx bake build | |
- name: Publish the Docker image tags | |
if: github.ref == 'refs/heads/main' | |
run: | | |
if [ -f push.sh ]; then | |
./push.sh | |
fi | |
working-directory: ./linux/${{ env.FILE }} |