Squashed commit of the following:
ci.vdhsn.com/push Build is passing
Details
ci.vdhsn.com/push Build is passing
Details
committrunk3420069193Author: Adam Veldhousen <adamveld12@gmail.com> Date: Wed Aug 3 01:55:56 2022 -0500 promote pushes latest tag commit7d59cb9eb4Author: Adam Veldhousen <adamveld12@gmail.com> Date: Wed Aug 3 01:35:02 2022 -0500 b&p commit9b7c014703Author: Adam Veldhousen <adamveld12@gmail.com> Date: Wed Aug 3 01:33:20 2022 -0500 attempt to add promote commitb7dfe95543Author: Adam Veldhousen <adamveld12@gmail.com> Date: Wed Aug 3 01:19:26 2022 -0500 arg fix commit851cd87059Author: Adam Veldhousen <adamveld12@gmail.com> Date: Wed Aug 3 01:18:30 2022 -0500 update builds commit46d9c1ba92Author: Adam Veldhousen <adamveld12@gmail.com> Date: Wed Aug 3 01:05:39 2022 -0500 arg fix
parent
653cff56e5
commit
30d8003318
30
.drone.yml
30
.drone.yml
|
|
@ -1,17 +1,35 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: Publish
|
||||
name: PR Build
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- cron
|
||||
- push
|
||||
branch:
|
||||
- trunk
|
||||
- cron
|
||||
|
||||
steps:
|
||||
- name: kaniko
|
||||
- name: Build & Publish
|
||||
image: plugins/kaniko
|
||||
settings:
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
repo: vdhsn/garden
|
||||
tags:
|
||||
- ${DRONE_COMMIT_SHA}
|
||||
- ${DRONE_BRANCH}
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: Deploy
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- promote
|
||||
|
||||
steps:
|
||||
- name: Publish Latest
|
||||
image: plugins/kaniko
|
||||
settings:
|
||||
username:
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ RUN apk add --no-cache git hugo make && make build
|
|||
|
||||
FROM nginx
|
||||
|
||||
ARG SHA = "local-dev"
|
||||
ARG BUILD_DATE = "03-11-2022"
|
||||
# ARG SHA "local-dev"
|
||||
# ARG BUILD_DATE "03-11-2022"
|
||||
|
||||
LABEL org.opencontainers.image.created ${BUILD_DATE}
|
||||
LABEL org.opencontainers.image.source https://git.vdhsn.com/adam/garden.git
|
||||
|
|
|
|||
Loading…
Reference in New Issue