Skip to content

Commit

Permalink
fix: var sub
Browse files Browse the repository at this point in the history
  • Loading branch information
thearyadev committed Dec 24, 2024
1 parent faed8da commit e5974cf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: docker build and push

on:
push:
branches:
Expand All @@ -17,14 +16,11 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Extract and manipulate tag name
id: extract_tag
run: |
CLEAN_TAG_NAME=${date +%Y%m%d}
echo "TAG_NAME=${TAG_NAME}" >> $GITHUB_ENV
CLEAN_TAG_NAME=$(date '+%Y%m%d')
echo "CLEAN_TAG_NAME=${CLEAN_TAG_NAME}" >> $GITHUB_ENV
- name: Build and push
uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit e5974cf

Please sign in to comment.