Skip to content

updated workflow

updated workflow #7

name: Build and publish the Containers
on:
push:
branches:
- build_workflow
jobs:
build:
runs-on: ubuntu-latest
env:
ROOTPATH: /home/runner/work/CYBERTEC-pg-container/CYBERTEC-pg-container
IMAGEPRAEFIX: docker.io/cybertecpostgresql/cybertec-pg-container-dev
PGVERSION: 16.3
BUILD: 1
TYPE: dev
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
- name: Build base
run: |
make base
tag:
runs-on: ubuntu-latest
needs: build
steps:
- name: Tag and push container1
run: |

Check failure on line 43 in .github/workflows/build_containers.yaml

View workflow run for this annotation

GitHub Actions / Build and publish the Containers

Invalid workflow file

The workflow is not valid. .github/workflows/build_containers.yaml (Line: 43, Col: 14): Unrecognized named-value: 'IMAGEPRAEFIX'. Located at position 1 within expression: IMAGEPRAEFIX
docker tag user/base:latest ${{ IMAGEPRAEFIX }}/base:base-${{ BUILD }}-${{ TYPE }}