forked from maximbaz/docker-arch-build-aur
-
Notifications
You must be signed in to change notification settings - Fork 1
29 lines (27 loc) · 830 Bytes
/
ci.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: CI
on:
push:
branches:
- main
schedule:
- cron: "0 6 * * *"
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build and push container image
env:
QUAY_USER: ${{ secrets.QUAY_USER }}
QUAY_PASS: ${{ secrets.QUAY_PASS }}
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
run: |
docker pull archlinux:latest
docker build . -t quay.io/valdar/arch-build-aur -t valdar/arch-build-aur
docker login -u=$QUAY_USER -p=$QUAY_PASS quay.io
docker push quay.io/valdar/arch-build-aur
docker login -u=$DOCKER_USER -p=$DOCKER_PASS
docker push valdar/arch-build-aur
- uses: gautamkrishnar/keepalive-workflow@v1