Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicOfficer authored Apr 3, 2024
1 parent d0583fd commit f9d5a5a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
IMAGE_NAME: ${{ github.repository }}

jobs:
build-and-push-image:
publish:
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -28,17 +28,17 @@ jobs:
packages: write

steps:
- name: Checkout repository
- name: Checkout
uses: actions/checkout@v4

- name: Log in to the Container registry
- name: Login
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
- name: Extract metadata
id: meta
uses: docker/metadata-action@v5
with:
Expand All @@ -48,7 +48,7 @@ jobs:
type=raw,pattern=latest,value=latest
type=sha,prefix=commit_,
- name: Build and push Docker images
- name: Build images
uses: docker/build-push-action@v5
with:
context: .
Expand All @@ -57,4 +57,4 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
VITE_CLIENT_ID=${{ secrets.DISCORD_CLIENT_ID }}
VITE_CLIENT_ID=${{ secrets.DISCORD_CLIENT_ID }}

0 comments on commit f9d5a5a

Please sign in to comment.