Skip to content

Commit

Permalink
build: restore build process (#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregkonush authored Dec 1, 2024
1 parent 8d431c9 commit e24124f
Showing 1 changed file with 9 additions and 25 deletions.
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

0 comments on commit e24124f

Please sign in to comment.