adding docker-build job
Test Actions (self-test) / AMD64 - Build tiny multi-arch image (runner-slim-amd64) (push) Successful in 17s
Test Actions (self-test) / Build-only tiny multi-arch image (runner-full-amd64) (push) Successful in 27s
Test Actions (self-test) / AMD64 - Build tiny multi-arch image (runner-full-amd64) (push) Successful in 28s
Test Actions (self-test) / Build-only tiny multi-arch image (runner-slim-amd64) (push) Successful in 12s
Test Actions (self-test) / Test SSH deploy action (runner-full-amd64) (push) Successful in 35s
Test Actions (self-test) / Test SSH deploy action (runner-slim-amd64) (push) Successful in 7s
Test Actions (self-test) / Test Kubernetes actions (runner-full-amd64) (push) Successful in 1m7s
Test Actions (self-test) / Test Kubernetes actions (runner-slim-amd64) (push) Successful in 1m8s
Test Actions (self-test) / Build-only tiny multi-arch image (runner-full-arm64) (push) Successful in 5m30s
Test Actions (self-test) / ARM64 - Build tiny multi-arch image (runner-full-arm64) (push) Successful in 5m35s
Test Actions (self-test) / Build-only tiny multi-arch image (runner-slim-arm64) (push) Successful in 5m39s
Test Actions (self-test) / ARM64 - Build tiny multi-arch image (runner-slim-arm64) (push) Successful in 5m43s
Test Actions (self-test) / Test SSH deploy action (runner-slim-arm64) (push) Successful in 1m38s
Test Actions (self-test) / Test Kubernetes actions (runner-full-arm64) (push) Successful in 2m14s
Test Actions (self-test) / Test Kubernetes actions (runner-slim-arm64) (push) Successful in 2m29s
Test Actions (self-test) / Test SSH deploy action (runner-full-arm64) (push) Successful in 4m5s
Test Actions (self-test) / AMD64 - Build tiny multi-arch image (runner-slim-amd64) (push) Successful in 17s
Test Actions (self-test) / Build-only tiny multi-arch image (runner-full-amd64) (push) Successful in 27s
Test Actions (self-test) / AMD64 - Build tiny multi-arch image (runner-full-amd64) (push) Successful in 28s
Test Actions (self-test) / Build-only tiny multi-arch image (runner-slim-amd64) (push) Successful in 12s
Test Actions (self-test) / Test SSH deploy action (runner-full-amd64) (push) Successful in 35s
Test Actions (self-test) / Test SSH deploy action (runner-slim-amd64) (push) Successful in 7s
Test Actions (self-test) / Test Kubernetes actions (runner-full-amd64) (push) Successful in 1m7s
Test Actions (self-test) / Test Kubernetes actions (runner-slim-amd64) (push) Successful in 1m8s
Test Actions (self-test) / Build-only tiny multi-arch image (runner-full-arm64) (push) Successful in 5m30s
Test Actions (self-test) / ARM64 - Build tiny multi-arch image (runner-full-arm64) (push) Successful in 5m35s
Test Actions (self-test) / Build-only tiny multi-arch image (runner-slim-arm64) (push) Successful in 5m39s
Test Actions (self-test) / ARM64 - Build tiny multi-arch image (runner-slim-arm64) (push) Successful in 5m43s
Test Actions (self-test) / Test SSH deploy action (runner-slim-arm64) (push) Successful in 1m38s
Test Actions (self-test) / Test Kubernetes actions (runner-full-arm64) (push) Successful in 2m14s
Test Actions (self-test) / Test Kubernetes actions (runner-slim-arm64) (push) Successful in 2m29s
Test Actions (self-test) / Test SSH deploy action (runner-full-arm64) (push) Successful in 4m5s
This commit is contained in:
1 parent
24a644c338
commit
d023002a62
4 files changed
+296
-1
No files matched your search
@@ -12,6 +12,7 @@ on:
|
||||
- main
|
||||
paths:
|
||||
- build-and-push/**
|
||||
- docker-build/**
|
||||
- deploy-restart/**
|
||||
- kubectl-apply/**
|
||||
- ssh-deploy/**
|
||||
@@ -110,6 +111,34 @@ jobs:
|
||||
echo "${MANIFEST}" | grep -q "linux/arm64" || { echo "missing linux/arm64"; exit 1; }
|
||||
echo "self-test PASSED: multi-arch image built and pushed"
|
||||
|
||||
test-build-only:
|
||||
name: Build-only tiny multi-arch image (${{ matrix.runner }})
|
||||
if: ${{ gitea.event_name != 'workflow_run' || gitea.event.workflow_run.conclusion == 'success' }}
|
||||
runs-on: ${{ matrix.runner }}
|
||||
strategy:
|
||||
matrix:
|
||||
runner: [runner-slim-amd64, runner-full-amd64, runner-slim-arm64, runner-full-arm64]
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Generate a minimal Dockerfile
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p _selftest
|
||||
cat > _selftest/Dockerfile <<'EOF'
|
||||
FROM alpine:3.20
|
||||
RUN echo "pipeline-actions self-test build-only OK"
|
||||
CMD ["true"]
|
||||
EOF
|
||||
|
||||
- name: Build (no push) via composite action
|
||||
uses: https://git.ivanch.me/ivanch/pipeline-actions/docker-build@main
|
||||
with:
|
||||
build_context: _selftest
|
||||
build_dockerfile: Dockerfile
|
||||
ssh_key: ${{ secrets.SSH_KEY_DOCKERBUILD }}
|
||||
|
||||
test-k8s:
|
||||
name: Test Kubernetes actions (${{ matrix.runner }})
|
||||
if: ${{ gitea.event_name != 'workflow_run' || gitea.event.workflow_run.conclusion == 'success' }}
|
||||
|
||||
Reference in new issue
Block a user