Skip to content

Commit

Permalink
.env in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
SuryaSekhar14 committed Nov 4, 2024
1 parent df415ed commit 6521594
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/docker-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Create .env file
run: |
echo "BLOB_READ_WRITE_TOKEN=${{ secrets.BLOB_READ_WRITE_TOKEN }}" >> .env
echo "FLASK_DEBUG=${{ secrets.FLASK_DEBUG }}" >> .env
echo "FLASK_PORT=${{ secrets.FLASK_PORT }}" >> .env
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
Expand All @@ -27,6 +33,7 @@ jobs:
with:
context: .
push: true
platforms: linux/arm/v7,linux/arm64,linux/arm64/v8
#linux/arm/v7,linux/arm64,
platforms: linux/arm64/v8
tags: ${{ secrets.DOCKER_USERNAME }}/file-stash:latest
# tags: ${{ secrets.DOCKER_USERNAME }}/file-stash:${{ github.sha }}

0 comments on commit 6521594

Please sign in to comment.