Skip to content

build: Update Python dependencies (#662) #229

build: Update Python dependencies (#662)

build: Update Python dependencies (#662) #229

name: Build and Publish (dev) Docker Image
on:
push:
branches:
- 'main'
paths:
- 'repository_service_tuf_worker/**'
- 'app.py'
- 'entrypoint.sh'
- 'supervisor.conf'
- 'Dockerfile'
- 'requirements.txt'
- 'setup.py'
- 'alembic.ini'
- 'alembic/**'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
with:
python-version: '3.12'
- name: Set up QEMU
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5
- name: Login to GitHub Container Registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/repository-service-tuf/repository-service-tuf-worker:dev
build-args: |
RELEASE_VERSION=dev