Skip to content

Commit 69fec8f

Browse files
authored
Replace github actions with circle ci.
1 parent e9c84fb commit 69fec8f

3 files changed

Lines changed: 56 additions & 51 deletions

File tree

.circleci/config.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
version: 2.1
2+
3+
jobs:
4+
arm64:
5+
machine:
6+
image: ubuntu-2004:current
7+
resource_class: arm.medium
8+
steps:
9+
- checkout
10+
- run:
11+
command: |
12+
export DOCKER_BUILDKIT=1 BUILDKIT_PROGRESS=plain
13+
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
14+
docker build -t 1337kavin/piped-proxy:latest-arm64 .
15+
docker push 1337kavin/piped-proxy:latest-arm64
16+
amd64:
17+
machine:
18+
image: ubuntu-2004:current
19+
resource_class: medium
20+
steps:
21+
- checkout
22+
- run:
23+
command: |
24+
export DOCKER_BUILDKIT=1 BUILDKIT_PROGRESS=plain
25+
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
26+
docker build -t 1337kavin/piped-proxy:latest-amd64 .
27+
docker push 1337kavin/piped-proxy:latest-amd64
28+
push:
29+
machine:
30+
image: ubuntu-2004:current
31+
resource_class: medium
32+
steps:
33+
- run:
34+
command: |
35+
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
36+
docker manifest create 1337kavin/piped-proxy:latest 1337kavin/piped-proxy:latest-arm64 1337kavin/piped-proxy:latest-amd64
37+
docker manifest push 1337kavin/piped-proxy:latest
38+
39+
workflows:
40+
build-docker:
41+
jobs:
42+
- arm64:
43+
filters:
44+
branches:
45+
only: main
46+
- amd64:
47+
filters:
48+
branches:
49+
only: main
50+
- push:
51+
filters:
52+
branches:
53+
only: main
54+
requires:
55+
- arm64
56+
- amd64

.github/buildkitd.toml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/build-docker.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)