Skip to content

Update base image version #6

Update base image version

Update base image version #6

Workflow file for this run

name: 🔧 Build CI Img
on:
# Push includes PR merge
push:
branches:
- master
- staging
- development
paths:
# Workflow is triggered only if deps change
- "Dockerfile"
# Allow manual trigger
workflow_dispatch:
jobs:
backend-ci-build:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@2.0.9
with:
image_tags: |
"ghcr.io/${{ github.repository }}:${{ github.ref_name }}"
invalidate-cache:
runs-on: ubuntu-latest
steps:
- name: Delete CI Img Cache
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh extension install actions/gh-actions-cache
gh actions-cache delete image-cache-${{ runner.os }} \
-R ${{ github.repository }} \
-B ${{ github.ref_name }} \
--confirm || true