This commit is contained in:
parent
486a9a84f5
commit
8ebe6edd74
@ -30,7 +30,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- export DRONE_SHA=${DRONE_COMMIT_SHA:0:7}
|
- export DRONE_SHA=${DRONE_COMMIT_SHA:0:7}
|
||||||
- docker-compose -f ./docker-compose.drone.yaml build
|
- docker-compose -f ./docker-compose.drone.yaml build
|
||||||
- docker tag oonyeje-portfolio gitea.bsidesolutions.net/oonyeje/oonyeje-portfolio:${DRONE_COMMIT_SHA:0:7}
|
- docker tag oonyeje-portfolio:${DRONE_COMMIT_SHA:0:7} gitea.bsidesolutions.net/oonyeje/oonyeje-portfolio:${DRONE_COMMIT_SHA:0:7}
|
||||||
- name: push-image
|
- name: push-image
|
||||||
image: docker/compose:latest
|
image: docker/compose:latest
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
@ -2,7 +2,10 @@ version: '3.3'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
oonyeje-portfolio:
|
oonyeje-portfolio:
|
||||||
image: gitea.bsidesolutions.net/oonyeje/oonyeje-portfolio:${DRONE_SHA}
|
image: gitea.bsidesolutions.net/oonyeje/oonyeje-portfolio
|
||||||
|
tags:
|
||||||
|
- ${DRONE_SHA}
|
||||||
|
- latest
|
||||||
build:
|
build:
|
||||||
context: ./
|
context: ./
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user