Skip to content

Commit

Permalink
fix: ga action image name env
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-souza committed Dec 19, 2024
1 parent c3d8480 commit 994b04d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/fly-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
branches:
- main

env:
IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/${{ github.repository_name }}:latest

jobs:

build-docker:
Expand All @@ -21,9 +24,6 @@ jobs:
- name: login to GitHub Container Registry
run: echo "${{ secrets.CR_PAT }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Set docker image name to the environment
run: echo "IMAGE_NAME=${{ env.IMAGE_NAME }}" >> $GITHUB_ENV

- name: Build Docker image
run: docker build -t ${{ env.IMAGE_NAME }} .

Expand Down

1 comment on commit 994b04d

@vercel
Copy link

@vercel vercel bot commented on 994b04d Dec 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.