Skip to content

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

chore: moving from docker hub to ghcr.io

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

Workflow file for this run

name: build-image
on:
push:
branches: [ master ]
env:
VERSION: 0.0.7
IMAGE_NAME: ${{ github.repository_name }}
FQ_IMAGE_NAME: ghcr.io/ekgf/${{ env.IMAGE_NAME }}

Check failure on line 10 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: 10, Col: 18): Unrecognized named-value: 'env'. Located at position 1 within expression: env.IMAGE_NAME .github/workflows/build.yml (Line: 11, Col: 9): Unrecognized named-value: 'env'. Located at position 1 within expression: env.IMAGE_NAME
TAGS: ${{ env.IMAGE_NAME }}:latest, ${{ env.IMAGE_NAME }}:${{ env.VERSION }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
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