custom build
This commit is contained in:
parent
7809a0d419
commit
851ebfb279
1 changed files with 2 additions and 11 deletions
|
|
@ -14,15 +14,6 @@ jobs:
|
||||||
registry: code.hohl.cloud
|
registry: code.hohl.cloud
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
-
|
- run: docker builld -t code.hohl.cloud/a11yist:latest --target production .
|
||||||
name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
-
|
|
||||||
name: Build and push
|
|
||||||
uses: docker/build-push-action@v6
|
|
||||||
with:
|
|
||||||
push: true
|
|
||||||
tags: code.hohl.cloud/jwa11y/a11yist:latest
|
|
||||||
cache-from: type=registry,ref=code.hohl.cloud/jwa11y/a11yist:latest
|
|
||||||
cache-to: type=inline
|
|
||||||
- run: docker compose -f /services/a11yist/docker-compose.yml up -d
|
- run: docker compose -f /services/a11yist/docker-compose.yml up -d
|
||||||
|
- run: docker push code.hohl.cloud/a11yist:latest
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue