Skip to content

Commit

Permalink
debugging actions
Browse files Browse the repository at this point in the history
  • Loading branch information
cjtitus committed Dec 20, 2023
1 parent 87d9639 commit e6a3de4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/push_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get the latest tag
id: get_tag
Expand All @@ -25,9 +27,11 @@ jobs:

- name: Push image
run: |
IMAGE_ID=docker://ghcr.io/${{ github.repository }}/simline
IMAGE_ID=ghcr.io/${{ github.repository }}/simline
# Make sure IMAGE_ID is lowercase for buildah
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
echo $IMAGE_ID
echo "buildah push simline:latest $IMAGE_ID:latest"
buildah push simline:latest $IMAGE_ID:latest
echo "buildah push simline:latest $IMAGE_ID:${{ steps.get_tag.outputs.TAG }}"
buildah push simline:latest $IMAGE_ID:${{ steps.get_tag.outputs.TAG }}

0 comments on commit e6a3de4

Please sign in to comment.