This commit is contained in:
parent
2a25618be6
commit
d364b3c3ad
1 changed files with 41 additions and 0 deletions
41
.gitea/workflows/pipeline-test.yml
Normal file
41
.gitea/workflows/pipeline-test.yml
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
name: Build and Deploy Docker Image
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- ci-build
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
||||||
|
- name: Buildah Action
|
||||||
|
uses: redhat-actions/buildah-build@v2
|
||||||
|
with:
|
||||||
|
image: my-new-image
|
||||||
|
tags: test
|
||||||
|
containerfiles: |
|
||||||
|
./Dockerfile
|
||||||
|
|
||||||
|
# - name: Set up Docker Buildx
|
||||||
|
# uses: docker/setup-buildx-action@v2
|
||||||
|
#
|
||||||
|
# - name: Log in to Gitea Container Registry
|
||||||
|
# uses: docker/login-action@v3
|
||||||
|
# with:
|
||||||
|
# password: ${{ secrets.PASSWORD }}
|
||||||
|
# username: ${{ secrets.USERNAME }}
|
||||||
|
# registry: git.thecodedom.com
|
||||||
|
#
|
||||||
|
# - name: Build and push Docker image
|
||||||
|
# uses: docker/build-push-action@v6
|
||||||
|
# with:
|
||||||
|
# context: .
|
||||||
|
# push: true
|
||||||
|
# tags: git.thecodedom.com/dotechbro/dotechbro-website:latest
|
||||||
|
|
Loading…
Reference in a new issue