Skip to content

Fix build pipeline

Fix build pipeline #4

Workflow file for this run

name: Continuous Delivery
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
name: Buid and push Docker image to GitHub Container registry
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Docker Setup Buildx
uses: docker/[email protected]
- name: Docker Login
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker images
uses: docker/[email protected]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
with:
context: .
file: ./Dockerfile
push: true
build-args:
- APP_UID=1024

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

View workflow run for this annotation

GitHub Actions / Continuous Delivery

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 38, Col: 13): A sequence was not expected .github/workflows/build.yml (Line: 41, Col: 13): A sequence was not expected

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

View workflow run for this annotation

GitHub Actions / Continuous Delivery

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 38, Col: 13): A sequence was not expected .github/workflows/build.yml (Line: 41, Col: 13): A sequence was not expected
- VERSION=${{ github.ref_name }}
tags:
- ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
- ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest