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