-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 953 Bytes
/
atils-run-ci.yaml
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
37
38
39
name: Atils Build and Publish
on:
push:
branches:
- master
paths:
- 'atils/**'
- '.github/workflows/atils-run-ci.yaml'
jobs:
build-and-publish:
runs-on: ubuntu-latest
container:
image: aidanhilt/atils-ci:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Build and publish
run: |
atils build --build-directory "atils" --action-set ci-build-publish
env:
PYPI_AUTH_TOKEN: ${{ secrets.ATILS_PYPI_TOKEN }}