php/.gitea/workflows/build_docker.yaml
Deon George bcac60699a
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 55s
Added gitea CI/CD configuration
2024-04-05 16:30:21 +11:00

32 lines
811 B
YAML

name: Create Docker Image
run-name: ${{ gitea.actor }} Building Docker Image 🚀
on: [push]
jobs:
build:
name: Build Docker Image
runs-on: ubuntu-latest
steps:
- name: Environment
run: |
env
- name: Checkout Code
uses: actions/checkout@v4
# name: Set up Docker Buildx
# uses: https://github.com/docker/setup-buildx-action@v3
# with:
# config-inline: |
# [registry."<my-private-unsecure-git-repository-ip-address>:5000"]
# http = true
# insecure = true
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: "${{gitea.server}}/${{gitea.domain}}:latest"