Skip to content

Commit

Permalink
Merge pull request #29 from LanceMcCarthy/main
Browse files Browse the repository at this point in the history
Try azurecr for base image
  • Loading branch information
LanceMcCarthy authored May 23, 2024
2 parents 4362edb + 728eac4 commit 422c6e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/update-base-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
workflow_dispatch:

env:
REGISTRY_NAME: "acrjmotg62yke5uc"
REGISTRY_URL: "acrjmotg62yke5uc.azurecr.io"
REGISTRY_USERNAME: "acrjmotg62yke5uc"
REPOSITORY: "lancemccarthy/aspirebase"
Expand All @@ -29,6 +28,5 @@ jobs:
working-directory: '.dockerbuilds/baseimage'
id: build-and-publish
run: |
eight_tagged="${{env.REGISTRY_NAME}}/${{env.REPOSITORY}}:8.0"
docker build -t $eight_tagged -t $latest_tagged -f Dockerfile .
docker push $eight_tagged
docker build -t "${{env.REGISTRY_URL}}/${{env.REPOSITORY}}:8.0" -f Dockerfile .
docker push "${{env.REGISTRY_URL}}/${{env.REPOSITORY}}:8.0"
2 changes: 1 addition & 1 deletion DevCraftAspire.ApiService/DevCraftAspire.ApiService.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ContainerBaseImage>ghcr.io/lancemccarthy/aspirebase:8.0</ContainerBaseImage>
<ContainerBaseImage>acrjmotg62yke5uc.azurecr.io/lancemccarthy/aspirebase:8.0</ContainerBaseImage>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 422c6e0

Please sign in to comment.