Skip to content

Commit

Permalink
Merge pull request #4 from uselagoon/no-latest
Browse files Browse the repository at this point in the history
fix: restructure metadata generation
  • Loading branch information
smlx authored Nov 22, 2021
2 parents d855b85 + 4a94d01 commit fc98bcc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
id: service_api_meta
uses: docker/metadata-action@v3
with:
images: uselagoon/lagoon-ssh-portal/service-api
images: ghcr.io/uselagoon/lagoon-ssh-portal/service-api
- name: Build and push service-api container image
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: ghcr.io/${{ steps.service_api_meta.outputs.tags }}
tags: ${{ steps.service_api_meta.outputs.tags }}
labels: ${{ steps.service_api_meta.outputs.labels }}
file: deploy/service-api/Dockerfile
context: dist/lagoon-ssh-portal_linux_amd64
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
id: service_api_meta
uses: docker/metadata-action@v3
with:
images: uselagoon/lagoon-ssh-portal/service-api
images: ghcr.io/uselagoon/lagoon-ssh-portal/service-api
tags: |
${{ needs.tag.outputs.new-tag-version }}
latest
Expand All @@ -76,7 +76,7 @@ jobs:
uses: docker/build-push-action@v2
with:
push: true
tags: ghcr.io/${{ steps.service_api_meta.outputs.tags }}
tags: ${{ steps.service_api_meta.outputs.tags }}
labels: ${{ steps.service_api_meta.outputs.labels }}
file: deploy/service-api/Dockerfile
context: dist/lagoon-ssh-portal_linux_amd64

0 comments on commit fc98bcc

Please sign in to comment.