Commit 3423260 1 parent a1c374b commit 3423260 Copy full SHA for 3423260
File tree 4 files changed +29
-7
lines changed
4 files changed +29
-7
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,25 @@ jobs:
12
12
- name : Code checkout
13
13
uses : actions/checkout@v2
14
14
15
+ - name : Login to GitHub Container Registry
16
+ uses : docker/login-action@v1
17
+ with :
18
+ registry : ghcr.io
19
+ username : ${{ github.repository_owner }}
20
+ password : ${{ secrets.GITHUB_TOKEN }}
21
+
22
+ - name : Set up QEMU
23
+ uses : docker/setup-qemu-action@v1
24
+
25
+ - name : Setup buildx
26
+ uses : docker/setup-buildx-action@v1
27
+ with :
28
+ install : true
29
+
15
30
- name : Build and push
16
31
uses : docker/build-push-action@v2
17
32
with :
18
33
context : .
19
- platforms : linux/amd64
20
- push : false
21
- tags : |
22
- ghcr.io/${{ github.repository }}:edge
34
+ platforms : linux/amd64,linux/arm64
35
+ push : true
36
+ tags : ghcr.io/${{ github.repository }}:edge
Original file line number Diff line number Diff line change @@ -25,11 +25,19 @@ jobs:
25
25
username : ${{ github.repository_owner }}
26
26
password : ${{ secrets.GITHUB_TOKEN }}
27
27
28
+ - name : Set up QEMU
29
+ uses : docker/setup-qemu-action@v1
30
+
31
+ - name : Setup buildx
32
+ uses : docker/setup-buildx-action@v1
33
+ with :
34
+ install : true
35
+
28
36
- name : Build and push
29
37
uses : docker/build-push-action@v2
30
38
with :
31
39
context : .
32
- platforms : linux/amd64
40
+ platforms : linux/amd64,linux/arm64
33
41
push : true
34
42
tags : |
35
43
ghcr.io/${{ github.repository }}:${{ steps.get_tag.outputs.VERSION }}
Original file line number Diff line number Diff line change 1
- FROM python
1
+ FROM python:slim
2
2
3
3
RUN pip install yamllint
4
4
ENV MATCHERS_DIR="._actionshub_problem-matchers"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ author: 'Jason Field'
4
4
description : ' Run yamllint on your yaml files with ease'
5
5
runs :
6
6
using : ' docker'
7
- image : docker://ghcr.io/actionshub/yamllint:1.0.1
7
+ image : docker://ghcr.io/actionshub/yamllint:1.0.2
8
8
branding :
9
9
icon : ' edit-3'
10
10
color : ' red'
You can’t perform that action at this time.
0 commit comments