Skip to content

chore: moving from docker hub to ghcr.io #11

chore: moving from docker hub to ghcr.io

chore: moving from docker hub to ghcr.io #11

Workflow file for this run

name: build-image
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
env:
VERSION: 0.0.7
TAGS: ${{ vars.FQ_IMAGE_NAME }}:latest, ${{ vars.FQ_IMAGE_NAME }}:${{ env.VERSION }}

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

View workflow run for this annotation

GitHub Actions / build-image

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 14, Col: 13): Unrecognized named-value: 'env'. Located at position 1 within expression: env.VERSION .github/workflows/build.yml (Line: 16, Col: 8): Unexpected value ''
steps:
-
- name: Checkout ekgf/gloud-terraform
uses: actions/checkout@v4
- name: Build and push Docker images
uses: docker/build-push-action@v3
with:
#
# TODO: Get the version number from a file (for instance localbuild.sh) or "/VERSION"
#
tags: ${{ env.TAGS }}
pull: true