Skip to content

Commit df8e0d0

Browse files
authored
Merge pull request #79 from mutablelogic/v5
Release V5
2 parents fa9c42d + 934b46d commit df8e0d0

File tree

220 files changed

+1946
-20331
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

220 files changed

+1946
-20331
lines changed

.github/workflows/container.yaml

-98
This file was deleted.

.github/workflows/docker.yaml

+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
name: Create Docker Image
2+
on:
3+
release:
4+
types:
5+
- created
6+
7+
workflow_dispatch:
8+
9+
jobs:
10+
build:
11+
name: Build
12+
strategy:
13+
matrix:
14+
arch: [ amd64, arm64 ]
15+
runs-on:
16+
- ${{ matrix.arch == 'amd64' && 'ubuntu-latest' || matrix.arch }}
17+
env:
18+
OS: linux
19+
ARCH: ${{ matrix.arch }}
20+
DOCKER_REPO: ghcr.io/${{ github.repository }}
21+
DOCKER_SOURCE: https://github.com/${{ github.repository }}
22+
outputs:
23+
tag: ${{ steps.build.outputs.tag }}
24+
permissions:
25+
contents: read
26+
packages: write
27+
steps:
28+
- name: Install build tools
29+
run: |
30+
sudo apt -y update
31+
sudo apt -y install build-essential git
32+
git config --global advice.detachedHead false
33+
- name: Checkout
34+
uses: actions/checkout@v4
35+
with:
36+
fetch-depth: 0
37+
- name: Login
38+
uses: docker/login-action@v3
39+
with:
40+
registry: ghcr.io
41+
username: ${{ github.repository_owner }}
42+
password: ${{ secrets.GITHUB_TOKEN }}
43+
- name: Build and Push
44+
id: build
45+
run: |
46+
make docker && make docker-push && make docker-version >> "$GITHUB_OUTPUT"
47+
manifest:
48+
name: Manifest
49+
needs: build
50+
strategy:
51+
matrix:
52+
tag:
53+
- ${{ needs.build.outputs.tag }}
54+
- "latest"
55+
runs-on: ubuntu-latest
56+
permissions:
57+
packages: write
58+
steps:
59+
- name: Login
60+
uses: docker/login-action@v3
61+
with:
62+
registry: ghcr.io
63+
username: ${{ github.repository_owner }}
64+
password: ${{ secrets.GITHUB_TOKEN }}
65+
- name: Create
66+
run: |
67+
docker manifest create ghcr.io/${{ github.repository }}:${{ matrix.tag }} \
68+
--amend ghcr.io/${{ github.repository }}-linux-amd64:${{ needs.build.outputs.tag }} \
69+
--amend ghcr.io/${{ github.repository }}-linux-arm64:${{ needs.build.outputs.tag }}
70+
- name: Annotate
71+
run: |
72+
docker manifest annotate --arch amd64 --os linux \
73+
ghcr.io/${{ github.repository }}:${{ matrix.tag }} \
74+
ghcr.io/${{ github.repository }}-linux-amd64:${{ needs.build.outputs.tag }}
75+
docker manifest annotate --arch arm64 --os linux \
76+
ghcr.io/${{ github.repository }}:${{ matrix.tag }} \
77+
ghcr.io/${{ github.repository }}-linux-arm64:${{ needs.build.outputs.tag }}
78+
- name: Push
79+
run: |
80+
docker manifest push ghcr.io/${{ github.repository }}:${{ matrix.tag }}

.github/workflows/merge.yaml

-43
This file was deleted.

LICENSE

100755100644
File mode changed.

0 commit comments

Comments
 (0)