Skip to content

Feat/better env management (#88) #24

Feat/better env management (#88)

Feat/better env management (#88) #24

Workflow file for this run

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 }}