Fixes + docker
This commit is contained in:
1 parent
34aa68e987
commit
c0992fe461
22 files changed
+179
-300
No files matched your search
@@ -0,0 +1,25 @@
|
||||
name: Build and Push Docker Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Log in to private registry
|
||||
run: echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login registry.ciomek.pl -u "${{ secrets.REGISTRY_USERNAME }}" --password-stdin
|
||||
|
||||
- name: Build Docker image
|
||||
run: docker build -t registry.ciomek.pl/colony:latest .
|
||||
|
||||
- name: Push Docker image
|
||||
run: docker push registry.ciomek.pl/colony:latest
|
||||
Reference in new issue
Block a user