forked from NyaMisty/AltServer-Linux
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 934 Bytes
/
build_docker.yml
File metadata and controls
37 lines (33 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Build buildenv Docker
on:
workflow_dispatch:
env:
REGISTRY: ghcr.io
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: master # set the branch to merge to
fetch-depth: 0
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
#-
# uses: docker/setup-buildx-action@v1
# id: buildx
# with:
# install: true
-
name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}
- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build & Push Dockers
run: cd ./buildenv && bash ./build_docker.sh