Update build'n'push;
This commit is contained in:
parent
18fd9d827b
commit
c77eeb8ef7
46
.drone.yml
Normal file
46
.drone.yml
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: kubernetes
|
||||||
|
name: Containeraztion latest
|
||||||
|
steps:
|
||||||
|
- name: Docker build
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 100
|
||||||
|
memory: 2048MiB
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
privileged: true
|
||||||
|
settings:
|
||||||
|
registry: git.badhouseplants.net
|
||||||
|
username: allanger
|
||||||
|
password:
|
||||||
|
from_secret: GITEA_TOKEN
|
||||||
|
repo: git.badhouseplants.net/badhouseplants/clever-install
|
||||||
|
tags: latest
|
||||||
|
platforms:
|
||||||
|
- linux/arm64
|
||||||
|
- linux/amd64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Docker build
|
||||||
|
image: thegeeklab/drone-docker-buildx
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 100
|
||||||
|
memory: 2048MiB
|
||||||
|
privileged: true
|
||||||
|
settings:
|
||||||
|
registry: git.badhouseplants.net
|
||||||
|
username: allanger
|
||||||
|
password:
|
||||||
|
from_secret: GITEA_TOKEN
|
||||||
|
repo: git.badhouseplants.net/badhouseplants/clever-install
|
||||||
|
tags: latest
|
||||||
|
platforms:
|
||||||
|
- linux/arm64
|
||||||
|
- linux/amd64
|
10
.github/workflows/container-stable.yaml
vendored
10
.github/workflows/container-stable.yaml
vendored
@ -1,10 +1,10 @@
|
|||||||
---
|
---
|
||||||
name: "Stable container"
|
name: "Stable container"
|
||||||
|
|
||||||
on:
|
# on:
|
||||||
push:
|
# push:
|
||||||
branches:
|
# branches:
|
||||||
- main
|
# - main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
containerization:
|
containerization:
|
||||||
@ -33,7 +33,7 @@ jobs:
|
|||||||
password: ${{ secrets.CR_PAT }}
|
password: ${{ secrets.CR_PAT }}
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
builder: ${{ steps.buildx.outputs.name }}
|
builder: ${{ steps.buildx.outputs.name }}
|
||||||
context: .
|
context: .
|
||||||
|
Loading…
Reference in New Issue
Block a user