Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit63b527e

Browse files
committed
ci(actions): add workflow for publishing images to DockerHub
Including an arm64 build
1 parentdc1ced4 commit63b527e

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

‎.github/workflows/build.yml‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name:Build
2+
3+
on:
4+
push:
5+
branches:
6+
-main
7+
-master
8+
9+
jobs:
10+
build:
11+
runs-on:ubuntu-latest
12+
strategy:
13+
fail-fast:false
14+
matrix:
15+
elixir:
16+
-"1.9"
17+
-"1.10"
18+
steps:
19+
-uses:actions/checkout@v2
20+
-uses:docker/setup-qemu-action@v1
21+
-uses:docker/setup-buildx-action@v1
22+
-uses:docker/login-action@v1
23+
with:
24+
username:${{ secrets.DOCKERHUB_USERNAME }}
25+
password:${{ secrets.DOCKERHUB_TOKEN }}
26+
-uses:docker/build-push-action@v2
27+
with:
28+
context:${{ matrix.elixir }}
29+
push:true
30+
tags:articulate/articulate-elixir:${{ matrix.elixir }}
31+
platforms:linux/amd64,linux/arm64/v8
32+
cache-from:type=registry,ref=articulate/articulate-elixir:${{ matrix.elixir }}
33+
cache-to:type=inline

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp