Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
周周 authored Mar 8, 2024
1 parent 0516019 commit dd100fa
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,11 @@ jobs:
LAST_COMMIT_TIME=$(git log -1 --format=%cd --date=format:'%Y%m%d%H%M%S' main)
echo "LAST_COMMIT_TIME=${LAST_COMMIT_TIME}" >> $GITHUB_ENV
- name: Build and push
env:
DOCKER_LATEST: ${{ secrets.DOCKERHUB_USERNAME }}/palworld-archive-repair:latest
DOCKER_STABLE: ${{ secrets.DOCKERHUB_USERNAME }}/palworld-archive-repair:${{ env.LAST_COMMIT_TIME }}
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: |
$DOCKER_LATEST
$DOCKER_STABLE
${{ secrets.DOCKERHUB_USERNAME }}/palworld-archive-repair:latest
${{ secrets.DOCKERHUB_USERNAME }}/palworld-archive-repair:${{ env.LAST_COMMIT_TIME }}

0 comments on commit dd100fa

Please sign in to comment.