History

update the GH actions workflow to remove credentials from persisting

Chaitanya Rahalkar committed 1 year ago

Commit 4ef554a2 parents 8933464 01874701 file · +1 −4Browse files

Unified · Split

.github/workflows/docker-build.yml+1−4
@@ -1,14 +1,11 @@
1name: Build and Push Docker Images1name: Build and Push Docker Images
2
3on:2on:
4 schedule:3 schedule:
5 - cron: '0 0 1 * *' # Run monthly on the 1st4 - cron: '0 0 1 * *' # Run monthly on the 1st
6 workflow_dispatch: # Allow manual triggers5 workflow_dispatch: # Allow manual triggers
7
8env:6env:
9 REGISTRY: ghcr.io7 REGISTRY: ghcr.io
10 IMAGE_NAME: ${{ github.repository }}8 IMAGE_NAME: ${{ github.repository }}
11
12jobs:9jobs:
13 build-and-push:10 build-and-push:
14 runs-on: ubuntu-latest11 runs-on: ubuntu-latest
@@ -54,4 +51,4 @@ jobs: · 39 unmodified lines
54 file: ./${{ matrix.variant.file }}51 file: ./${{ matrix.variant.file }}
55 push: true52 push: true
56 tags: ${{ steps.meta.outputs.tags }}53 tags: ${{ steps.meta.outputs.tags }}
57 labels: ${{ steps.meta.outputs.labels }}54 labels: ${{ steps.meta.outputs.labels }}