Skip to content

Commit

Permalink
gh actions work
Browse files Browse the repository at this point in the history
  • Loading branch information
arivers committed Jan 2, 2025
1 parent 04bfaa6 commit 60745db
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,14 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Get short SHA
id: slug
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV

- name: Build and push tamipami image
uses: docker/build-push-action@v6
with:
push: true
tags: user/app:latest
tags: ghcr.io/usda-ars-gbru/tamipami:sha-${{ env.SHORT_SHA }}
build-args: |
BUILDKIT_CONTEXT_KEEP_GIT_DIR=true

0 comments on commit 60745db

Please # to comment.