Skip to content

simple?

simple? #13

Workflow file for this run

name: build_image
on:
push:
# branches:
# - main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Build and push Docker images
uses: docker/[email protected]
with:
push: true
tags: user/app: latest

Check failure on line 17 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 17
# - name: Checkout repository
# uses: actions/checkout@v4
# -
# name: Read version from file
# id: get_version
# run: echo "VER=$(cat VERSION)" >> $GITHUB_ENV
# -
# name: Login to GitHub Container Registry
# uses: docker/login-action@v3
# with:
# registry: ghcr.io
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
# - name: Build and push Docker image
# uses: docker/build-push-action@v6
# with:
# push: true
# tags: user/app:latest