Skip to content

Commit

Permalink
Updating repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean-Stilwell committed Jun 14, 2024
1 parent f7ea75c commit 6ac841b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build-dash-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,24 @@ jobs:
- name: Login to GitHub Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Set IMAGE_TAG
run: echo "IMAGE_TAG=ghcr.io/${{ github.repository }}" | tr '[:upper:]' '[:lower:]' >> $GITHUB_ENV

- name: Print IMAGE_TAG
run: echo $IMAGE_TAG

- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ghcr.io/${{ github.repository }}:latest
tags: ${{ env.IMAGE_TAG }}:latest

- name: Image digest
run: echo "Image digest is ${{ steps.docker_build.outputs.digest }}"

- name: Image URL
run: echo "Image URL is ghcr.io/${{ github.repository }}:latest"
run: echo "Image URL is ghcr.io/${{ env.IMAGE_TAG }}:latest"

- name: Logout of GitHub Container Registry
run: docker logout ghcr.io

0 comments on commit 6ac841b

Please sign in to comment.