Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: restore build process #591

Merged
merged 1 commit into from
Dec 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 9 additions & 25 deletions .github/workflows/docker-build-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,31 +45,15 @@ jobs:

build-ecran:
needs: [version, build-ecran-migrator]
runs-on: arc-arm64
defaults:
run:
working-directory: services/ecran
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Login to Container Registry
uses: docker/login-action@v3
with:
registry: kalmyk.duckdns.org
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}

- name: Package into Docker image
uses: docker/build-push-action@v6
with:
push: true
context: services/ecran
file: services/ecran/Dockerfile.package
platforms: linux/arm64
tags: kalmyk.duckdns.org/lab/ecran:${{ needs.version.outputs.new_tag }}
cache-from: type=registry,ref=kalmyk.duckdns.org/lab/ecran:latest
cache-to: type=inline
uses: ./.github/workflows/docker-build-common.yaml
with:
image_name: ecran
dockerfile: ./services/ecran/Dockerfile
context: ./services/ecran
new_tag: ${{ needs.version.outputs.new_tag }}
secrets:
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}

build-ecran-worker:
needs: [version, build-ecran-migrator]
Expand Down