Skip to content

Commit

Permalink
Changing the workflow trying to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fmacleal committed Jun 29, 2024
1 parent 2e83108 commit 967b9a7
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
packages: write
env:
TEST_TAG: ${{ github.event.repository.name }}/rit-action:test
LATEST_TAG: ghcr.io/rsksmart/${{ github.event.repository.name }}/rit-action:latest
LATEST_TAG: ghcr.io/rsksmart/${{ github.event.repository.name }}/rit-action

jobs:
build-push-rit-action-image:
Expand Down Expand Up @@ -58,17 +58,24 @@ jobs:
# --env FEDERATOR_BRANCH="${{ env.FEDERATOR_BRANCH }}" \
# --rm ${{ env.TEST_TAG }}

- name: Build and Push the RIT Action Container Image
- name: Build the RIT Action Container Image
uses: docker/build-push-action@v6
with:
context: .github/images
tags: ${{ env.LATEST_TAG }}
tags: ${{ env.LATEST_TAG }}
labels: ${{ steps.meta.outputs.labels }}
registry: ghcr.io
platforms: linux/amd64
username: ${{ github.actor }}

- name: GitHub container registry login
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
push: true

- name: Push Images
run: |
docker push ${{ env.LATEST_TAG }}
test-rit-action:
needs: build-push-rit-action-image
Expand Down

0 comments on commit 967b9a7

Please sign in to comment.