ci: add build and push pipeline
All checks were successful
Build and Push Inventory / build (push) Successful in 1m17s
All checks were successful
Build and Push Inventory / build (push) Successful in 1m17s
This commit is contained in:
27
.gitea/workflows/ci.yml
Normal file
27
.gitea/workflows/ci.yml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
name: Build and Push Inventory
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Login to Harbor
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: harbor.reveal07.evoliatis.eu
|
||||||
|
username: admin
|
||||||
|
password: ${{ secrets.HARBOR_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Build and Push
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
context: ./inventory
|
||||||
|
push: true
|
||||||
|
tags: harbor.reveal07.evoliatis.eu/inventory/inventory:latest
|
||||||
Reference in New Issue
Block a user