Skip to content

Commit

Permalink
Fixing commit SHA for docker image inspect
Browse files Browse the repository at this point in the history
  • Loading branch information
marcleblanc2 authored Feb 16, 2024
1 parent ed454ee commit 78b20da
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ name: Docker Image CI

on:
push:
branches:
- "**"
tags:
- "*"
pull_request:
branches:
- "main"
types:
- opened
- reopened
- edited
workflow_dispatch:

jobs:
Expand All @@ -35,6 +33,7 @@ jobs:
type=raw,value=insiders,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
type=raw,value=insiders-$(date +%Y-%m-%d--%H-%M-%S),enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
type=sha,prefix=
type=sha,prefix=,format=long
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down Expand Up @@ -64,4 +63,4 @@ jobs:

- name: Inspect
run: |
docker image inspect ghcr.io/sourcegraph/bridge-repo-converter:{{sha}}
docker image inspect ghcr.io/sourcegraph/bridge-repo-converter:$GITHUB_SHA

0 comments on commit 78b20da

Please sign in to comment.