Skip to content

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

chore: moving from docker hub to ghcr.io

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

Workflow file for this run

name: build-image
on:
push:
branches: [ master ]
env:
VERSION: 0.0.7
IMAGE_OWNER: ghcr.io/ekgf
IMAGE_NAME: ${{ github.repository_name }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
env:
FQ_IMAGE_NAME: ${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}

Check failure on line 18 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: 18, Col: 22): Unrecognized named-value: 'env'. Located at position 1 within expression: env.IMAGE_OWNER .github/workflows/build.yml (Line: 19, Col: 13): Unrecognized named-value: 'env'. Located at position 1 within expression: env.IMAGE_NAME
TAGS: ${{ env.IMAGE_NAME }}:latest, ${{ env.IMAGE_NAME }}:${{ env.VERSION }}
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