This commit is contained in:
parent
22abf580d8
commit
2cc7bf827f
1 changed files with 5 additions and 2 deletions
|
|
@ -7,8 +7,11 @@ on:
|
|||
branches: [main]
|
||||
|
||||
env:
|
||||
REGISTRY_URL: registry.coolify1.workaround.org
|
||||
# This creates: registry.coolify1.workaround.org/my-app:main-sha
|
||||
CONTAINER_IMAGE: registry.coolify1.workaround.org/debshots:stage
|
||||
RAILS_ENV: production
|
||||
CONTAINER_IMAGE: ${{ secrets.REGISTRY_IMAGE }}:${{ github.ref_name }}-${{ github.sha }}
|
||||
#CONTAINER_IMAGE: ${{ secrets.REGISTRY_IMAGE }}:${{ github.ref_name }}-${{ github.sha }}
|
||||
DOCKER_HOST: tcp://localhost:2375
|
||||
|
||||
jobs:
|
||||
|
|
@ -30,7 +33,7 @@ jobs:
|
|||
|
||||
- name: Build with Buildah
|
||||
run: |
|
||||
# 'bud' stands for Build-Using-Docker-file
|
||||
# 'bud' stands for Build-Using-Dockerfile
|
||||
buildah bud \
|
||||
--storage-driver vfs \
|
||||
-t "$CONTAINER_IMAGE" .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue