Remove failed/abandoned workflows
This commit is contained in:
@@ -1,21 +0,0 @@
|
|||||||
name: Check Container Build Capability
|
|
||||||
on: [push, workflow_dispatch]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
check-build:
|
|
||||||
runs-on: macos-m1
|
|
||||||
container:
|
|
||||||
image: docker:cli
|
|
||||||
volumes:
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
steps:
|
|
||||||
- name: Check Docker Info
|
|
||||||
run: |
|
|
||||||
echo "Checking connection to host Docker/Podman daemon..."
|
|
||||||
docker info
|
|
||||||
|
|
||||||
- name: Test Build
|
|
||||||
run: |
|
|
||||||
echo "FROM alpine" > Dockerfile
|
|
||||||
echo "RUN echo 'Build successful'" >> Dockerfile
|
|
||||||
docker build -t test-image .
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
name: Check Kaniko Build (Safe)
|
|
||||||
on: [push, workflow_dispatch]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
kaniko-build:
|
|
||||||
runs-on: macos-m1
|
|
||||||
steps:
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: |
|
|
||||||
if [ -f /etc/alpine-release ]; then
|
|
||||||
apk add --no-cache nodejs git curl
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Create Dockerfile
|
|
||||||
run: |
|
|
||||||
echo "FROM alpine" > Dockerfile
|
|
||||||
echo "RUN echo 'Kaniko build successful'" >> Dockerfile
|
|
||||||
|
|
||||||
- name: Build with Kaniko
|
|
||||||
run: |
|
|
||||||
# Download Kaniko executor binary
|
|
||||||
curl -LO https://github.com/GoogleContainerTools/kaniko/releases/download/v1.23.2/executor-linux-arm64
|
|
||||||
chmod +x executor-linux-arm64
|
|
||||||
|
|
||||||
# Run Kaniko directly
|
|
||||||
./executor-linux-arm64 \
|
|
||||||
--context . \
|
|
||||||
--dockerfile Dockerfile \
|
|
||||||
--no-push
|
|
||||||
Reference in New Issue
Block a user