Skip to content

init github-action

init github-action #2

name: "Build and Push Docker-Images"
on:
push:
branches: [ "master" ]
jobs:
# Frontend:
# name: Push Frontend Image
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
Backend:
name: Push Backend Image
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: login
uses: docker/login-action@v3
- name: metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ccm-mgmt/backend
- name: Build and Push
uses: docker/build-push-action@

Check failure on line 28 in .github/workflows/build_and_push_docker_images.yml

View workflow run for this annotation

GitHub Actions / Build and Push Docker-Images

Invalid workflow file

The workflow is not valid. .github/workflows/build_and_push_docker_images.yml (Line: 28, Col: 15): Expected format {org}/{repo}[/path]@ref. Actual 'docker/build-push-action@' Input string was not in a correct format. Failure to parse near offset 96. Expected an ASCII digit.
with:
context: .
file: docker/backend/Dockerfile
push: true