Skip to content

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

chore: moving from docker hub to ghcr.io

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

Workflow file for this run

name: build-image
on:
push:
branches: [ master ]
env:
VERSION: 0.0.7
IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/${{ github.repository_name }}
TAGS: ${IMAGE_NAME}:latest, ${IMAGE_NAME}:${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: ${TAGS}
pull: true