more darwin service fixes #2560
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: foundry | |
on: { workflow_dispatch, push: { branches: [main] } } | |
jobs: | |
build_v2: | |
strategy: | |
fail-fast: false | |
matrix: | |
image: | |
- certbot_aws | |
- certbot_porkbun | |
- curl | |
- argohex | |
- hex | |
- k8s_aws | |
- k8s_gcp | |
- nix | |
# - pypi # broken at the moment? | |
- python311 | |
- python312 | |
- zaddy | |
name: foundry-${{ matrix.image }} | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- uses: cachix/install-nix-action@v30 | |
- uses: cachix/cachix-action@master | |
with: | |
name: jacobi | |
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
- run: nix run .#skopeo -- login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ghcr.io | |
- run: nix run .#foundry.${{ matrix.image }}.copyToRegistry | |
- run: | | |
export IMAGE="docker://$(nix eval --raw .#foundry.${{ matrix.image }}.imageName)" | |
export TAG="$(nix eval --raw .#foundry.${{ matrix.image }}.imageTag)" | |
skopeo --insecure-policy copy "$IMAGE:$TAG" "$IMAGE:$(date +"%F")" | |
skopeo --insecure-policy copy "$IMAGE:$TAG" "$IMAGE:latest" |