Skip to content

Commit

Permalink
Push image to ghcr.io [wip]
Browse files Browse the repository at this point in the history
  • Loading branch information
gebner committed Aug 28, 2024
1 parent b066f17 commit b310bbc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/linux-x64-rebuild-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ jobs:
run: |
docker tag ${TEMP_IMAGE_NAME} fstar_ci_base
- name: Push base image
# if: ${{ (success () && github.ref_name == 'master') || inputs.force }}
run: |
echo "$GITHUB_TOKEN" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
docker tag ${TEMP_IMAGE_NAME} ghcr.io/fstarlang/fstar-ci-base:latest
docker push ghcr.io/fstarlang/fstar-ci-base:latest
docker logout ghcr.io
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Compute elapsed time and status message
if: ${{ always() }}
run: |
Expand Down

0 comments on commit b310bbc

Please sign in to comment.