Files
containers/.gitea/workflows/docker-image.yaml
Marco Verleun 06dc64a608
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 17s
Gitea Actions Demo / Second-step (push) Successful in 4s
Docker Image CI / build (push) Failing after 45s
Docker test
2023-04-19 11:54:12 +02:00

27 lines
613 B
YAML

name: Docker Image CI
on:
push:
# branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: https://github.com/actions/hello-world-docker-action@main
with:
who-to-greet: 'Mona the Octocat'
- name: Lint Code Base
uses: https://github.com/github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: $default-branch
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)