Deon George
73ec127618
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 19s
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
name: Create Docker Image
|
|
run-name: ${{ gitea.actor }} Building Docker Image 🚀
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
name: Build Docker Image
|
|
runs-on: docker-x86
|
|
container: docker:dind
|
|
|
|
steps:
|
|
- name: Environment
|
|
run: |
|
|
echo "++ Environment" && env
|
|
echo "++ PWD" && pwd
|
|
echo "++ ls" && ls -al
|
|
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Environment part 2
|
|
run: |
|
|
echo "++ Environment" && env
|
|
echo "++ PWD" && pwd
|
|
echo "++ ls" && ls -al
|
|
|
|
# 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"
|