Skip to content

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

chore: moving from docker hub to ghcr.io

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

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
echo "VERSION=0.0.7" >> $GITHUB_ENV
echo "TAGS=$FQ_IMAGE_NAME:latest, $FQ_IMAGE_NAME:$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.TAGS }}
pull: true