Redo actions with gitea
All checks were successful
/ Building (push) Successful in 3m1s

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2023-09-24 22:29:43 +05:30
parent 683358f3c1
commit 6b8b5d6a60
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5
2 changed files with 26 additions and 7 deletions

View file

@ -0,0 +1,26 @@
on:
workflow_dispatch:
push:
jobs:
Building:
runs-on: slave
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: git.baalajimaestro.me
username: ${{ gitea.repository_owner }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build & Push
uses: docker/build-push-action@master
with:
push: true
context: .
platforms: linux/amd64
tags: git.baalajimaestro.me/baalajimaestro/obsolute-paste:latest

View file

@ -1,7 +0,0 @@
docker-build:
stage: build
before_script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin
script:
- DOCKER_BUILDKIT=1 docker build . -t registry.baalajimaestro.me/baalajimaestro/obsolute-paste:latest
- docker push registry.baalajimaestro.me/baalajimaestro/obsolute-paste:latest