Skip to content

Commit

Permalink
add tags by date
Browse files Browse the repository at this point in the history
  • Loading branch information
Shmayro committed Oct 4, 2024
1 parent 782af16 commit c09f60d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,16 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Get current date
id: date
run: echo "DATE=$(date +'%d-%m-%y')" >> $GITHUB_ENV

- name: Build and Push Docker Image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: |
shmayro/dockerify-android:latest
shmayro/dockerify-android:${{ env.DATE }}
platforms: linux/amd64

0 comments on commit c09f60d

Please sign in to comment.