Deon George
70a215c46e
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 17s
34 lines
893 B
YAML
34 lines
893 B
YAML
name: Create Docker Image
|
|
run-name: ${{ gitea.actor }} Building Docker Image 🚀
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
name: Build Docker Image
|
|
runs-on: docker
|
|
steps:
|
|
- name: Environment
|
|
run: |
|
|
echo "++ Environment" && env
|
|
echo "++ PWD" && pwd
|
|
echo "++ ls" && ls -al
|
|
|
|
- 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"
|