forked from multiarch/debian-debootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (29 loc) · 1015 Bytes
/
actions.yml
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
name: actions
on:
push:
schedule:
- cron: '0 0 * * 0'
jobs:
debian-debootstrap:
runs-on: ubuntu-latest
strategy:
matrix:
QEMU_VER: [v6.1.0-1]
DOCKER_REPO: [docker.io/pqclean/multiarch-debian-debootstrap]
VERSION: [sid]
UNAME_ARCH: [powerpc]
include:
- {ARCH: powerpc, QEMU_ARCH: ppc, UNAME_ARCH: powerpc}
env:
MIRROR: http://ftp.ports.debian.org/debian-ports/
steps:
- uses: actions/checkout@v2
- name: Build
run: |
sudo apt-get update && sudo apt-get install -y qemu-user-static debootstrap
./update.sh -a ${{ matrix.ARCH }} -v ${{ matrix.VERSION }} -q ${{ matrix.QEMU_ARCH }} -u ${{ matrix.QEMU_VER }} -d ${{ matrix.DOCKER_REPO }} -o ${{ matrix.UNAME_ARCH }}
- name: Publish
if: github.ref == 'refs/heads/master'
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_TOKEN }}
docker push -a ${{ matrix.DOCKER_REPO }}