Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
OLeonardoRodrigues authored Jul 29, 2022
1 parent cb99de2 commit c281fa0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@ jobs:
uses: docker/build-push-action@v3
with:
load: true
tags: repo-keeper:${{ steps.image_info.outputs.tag }}
tags: keypr:${{ steps.image_info.outputs.tag }}

- name: Test
run: docker run --rm repo-keeper:${{ steps.image_info.outputs.tag }}
run: docker run --rm keypr:${{ steps.image_info.outputs.tag }}

- name: Build image and push to GitHub Container Registry
uses: docker/build-push-action@v3
with:
platforms: linux/amd64
tags: |
ghcr.io/oleonardorodrigues/repo-keeper:latest
ghcr.io/oleonardorodrigues/repo-keeper:${{ steps.image_info.outputs.tag }}
ghcr.io/fr-platform/keypr:latest
ghcr.io/fr-platform/keypr:${{ steps.image_info.outputs.tag }}
labels: |
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.version=${{ steps.image_info.outputs.tag }}
Expand Down

0 comments on commit c281fa0

Please sign in to comment.