Skip to content

Commit

Permalink
Add container-disk-debian12-cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
au2001 committed Mar 2, 2024
1 parent 404824e commit 36e19dd
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 15 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,22 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand All @@ -32,6 +38,7 @@ jobs:
run: |
docker buildx bake \
--push \
--provenance=true \
--set="*.platform=linux/amd64,linux/arm64" \
--set="*.cache-from=type=gha" \
--set="*.cache-to=type=gha,mode=max"
5 changes: 5 additions & 0 deletions container-disk-debian12-cloud/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM scratch

ARG TARGETARCH

ADD --chown=107:107 https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-nocloud-$TARGETARCH.qcow2 /disk/
9 changes: 3 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
version: "3"

name: givepact

services:
python3-alpine-pandas:
image: ghcr.io/arl-sh/python3-alpine-pandas:latest
build:
context: ./python3-alpine-pandas
container-disk-debian12-cloud:
image: au2001/container-disk-debian12-cloud:latest
build: ./container-disk-debian12-cloud
4 changes: 0 additions & 4 deletions python3-alpine-pandas/Dockerfile

This file was deleted.

0 comments on commit 36e19dd

Please sign in to comment.