mirror of
https://github.com/GoodOlClint/PSProxmoxVE.git
synced 2026-08-13 07:36:52 +00:00
2043e9d26b
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
36 lines
828 B
YAML
36 lines
828 B
YAML
name: Build Integration Test Container
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
paths:
|
|
- 'tests/infrastructure/Dockerfile'
|
|
- '.github/workflows/build-test-container.yml'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 20
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
|
|
- name: Log in to GHCR
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
context: tests/infrastructure
|
|
file: tests/infrastructure/Dockerfile
|
|
push: true
|
|
tags: ghcr.io/${{ github.repository }}/integration-test:latest
|