update the GH actions workflow to remove credentials from persisting

pull/2386/head
Chaitanya Rahalkar 1 month ago
commit 4ef554a41c

@ -1,14 +1,11 @@
name: Build and Push Docker Images name: Build and Push Docker Images
on: on:
schedule: schedule:
- cron: '0 0 1 * *' # Run monthly on the 1st - cron: '0 0 1 * *' # Run monthly on the 1st
workflow_dispatch: # Allow manual triggers workflow_dispatch: # Allow manual triggers
env: env:
REGISTRY: ghcr.io REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }} IMAGE_NAME: ${{ github.repository }}
jobs: jobs:
build-and-push: build-and-push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -54,4 +51,4 @@ jobs:
file: ./${{ matrix.variant.file }} file: ./${{ matrix.variant.file }}
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}

Loading…
Cancel
Save