Files
docker-logger/.gitea/workflows/docker.yml
lif 221772ec0a
Some checks failed
Build and Push Docker Image / build (push) Failing after 1m16s
More CI tests
2025-09-14 20:34:20 +01:00

34 lines
724 B
YAML

name: Build and Push Docker Image
on:
push:
branches: [ main ]
jobs:
build:
runs-on: [label-one]
container:
image: liffsh/dind
steps:
- uses: actions/checkout@v4
- name: Login to Registry
uses: docker/login-action@v2
with:
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: ls
run:
ls
- name: Build Docker Image
env:
BRANCH_NAME: ${{ github.ref_name }}
SHORT_HASH: ${{ github.sha }}
run: |
# Build the image with the commit hash tag
docker build .
- name: Make test
run:
make ship