Skip to content

chore(deps): update containerbase/internal-tools action to v2.0.2 (#2… #8451

chore(deps): update containerbase/internal-tools action to v2.0.2 (#2…

chore(deps): update containerbase/internal-tools action to v2.0.2 (#2… #8451

Workflow file for this run

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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: docker-config
uses: containerbase/internal-tools@18e4711c931fa3fe5ac671cd7ab98577ee318d2d # v2.0.2
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 }}