-
Notifications
You must be signed in to change notification settings - Fork 5
32 lines (30 loc) · 891 Bytes
/
latest.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
30
31
32
name: Latest
on:
push:
branches:
- master
jobs:
release:
name: Update 'latest'
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: build latest
run: make build_latest
- name: test latest
run: make test_latest
- name: setup qemu (to run builders other than host)
uses: docker/setup-qemu-action@master
with:
platforms: all
- name: setup buildx (used by our 'release_latest' makefile target for multi-arch releases)
id: buildx
uses: docker/setup-buildx-action@master
- name: login to docker hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: push 'latest' to docker hub
run: make release_latest