Skip to content

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

chore: moving from docker hub to ghcr.io

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

Workflow file for this run

name: build-image
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: set-env
run: |
echo "FQ_IMAGE_NAME=${{ vars.FQ_IMAGE_NAME }}" >> $GITHUB_ENV
pwd
ls -al
echo "VERSION=$(< ./VERSION)" >> $GITHUB_ENV
- 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.FQ_IMAGE_NAME }}:latest, ${{ env.FQ_IMAGE_NAME }}:${{ env.VERSION }}
pull: true