Merge pull request #163 from StarkZarn/renovate/factory-boy-3.x-lockfile #288
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: | |
- master | |
tags-ignore: | |
- v* | |
#pull_request: | |
#branches: | |
#- master | |
#schedule: | |
#- cron: "0 0 * * 1" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: git fetch --force --tags | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.13' | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
with: | |
image: tonistiigi/binfmt:qemu-v8.1.5 | |
- name: docker buildx setup | |
uses: docker/setup-buildx-action@v3 | |
- name: login to ghcr | |
uses: docker/login-action@v3 | |
with: | |
registry: https://ghcr.io | |
username: StarkZarn | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push Docker images | |
uses: docker/build-push-action@v6 | |
with: | |
context: . | |
tags: ghcr.io/starkzarn/shynet:latest | |
push: true | |
file: ./Dockerfile | |
platforms: linux/amd64,linux/arm64 |