Skip to content

Commit

Permalink
ci: Push image to the old location
Browse files Browse the repository at this point in the history
  • Loading branch information
barthalion committed Jan 5, 2024
1 parent 5948838 commit 16dd1db
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,20 @@ jobs:
file: ./Dockerfile
tags: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMAGE }}:latest
push: true

- name: Login to ghcr.io using Flathub credentials
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ secrets.FLATHUB_ORG_USER }}
password: ${{ secrets.FLATHUB_ORG_TOKEN }}

- name: Push image to the old location
if: github.event_name != 'pull_request'
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
tags: ghcr.io/flathub/flatpak-external-data-checker:latest
push: true

0 comments on commit 16dd1db

Please sign in to comment.