This commit is contained in:
parent
8d7d4a4469
commit
f850bb49d9
@ -10,6 +10,7 @@ env:
|
|||||||
GITEA_VERSION: deploy_custom
|
GITEA_VERSION: deploy_custom
|
||||||
CONTAINER_NAME: gitea-production
|
CONTAINER_NAME: gitea-production
|
||||||
VOLUME_NAME: gitea_data
|
VOLUME_NAME: gitea_data
|
||||||
|
STORAGE_DRIVER: vfs
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
@ -30,12 +31,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Build container image
|
- name: Build container image
|
||||||
run: |
|
run: |
|
||||||
PODMAN_SYSTEM_STORAGE_OPTIONS="--storage-driver=vfs" \
|
podman --storage-driver=$STORAGE_DRIVER build \
|
||||||
podman build \
|
--build-arg GITEA_VERSION=${{ env.GITEA_VERSION }} \
|
||||||
--storage-driver=vfs \
|
-t gitea-custom:${{ github.sha }} \
|
||||||
--build-arg GITEA_VERSION=${{ env.GITEA_VERSION }} \
|
-t gitea-custom:latest .
|
||||||
-t gitea-custom:${{ github.sha }} \
|
|
||||||
-t gitea-custom:latest .
|
|
||||||
|
|
||||||
- name: Stop existing container
|
- name: Stop existing container
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user