Skip to content

Commit

Permalink
Update release-image.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jebinjeb authored Jul 19, 2023
1 parent fa7eaba commit 9f41bd1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ on:
tags:
- 'v*.*.*'

env:
REGISTRY: ghcr.io
IMAGE: ${{ github.repository }}

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -18,6 +14,9 @@ jobs:
contents: read
actions: read
security-events: write
env:
REGISTRY: ghcr.io
IMAGE: ${{ github.repository }}

steps:
- name: Checkout
Expand Down Expand Up @@ -53,7 +52,7 @@ jobs:
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
tags: ${{ env.REGISTRY }}/${{ github.repository }}:${{ github.run_id }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
GITHUB_TOKEN=${{ secrets.TOKEN }}
Expand Down

0 comments on commit 9f41bd1

Please sign in to comment.