Skip to content

Commit

Permalink
ci: fix docker push action
Browse files Browse the repository at this point in the history
  • Loading branch information
paring-chan committed Jun 16, 2024
1 parent 9c2bb5e commit 40c28c7
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
name: Deploy Staging

env:
REGISTRY: ghcr.io
IMAGE_NAME: adofai-gg/opengraph
name: Push Docker Image

on:
push:
Expand All @@ -14,6 +10,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/adofai-gg/opengraph
- name: Login to container registry
uses: docker/login-action@v2
with:
Expand All @@ -24,5 +25,6 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:staging
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 40c28c7

Please sign in to comment.