Use env variables in CI action (#48)

This commit is contained in:
Hussein Galal
2023-06-20 21:27:35 +03:00
committed by GitHub
parent e1576343a8
commit da5ddb27b5

View File

@@ -25,9 +25,7 @@ jobs:
with:
registry: docker.io
image: ibuildthecloud/github-release:v0.0.1
options: -v ${{ github.workspace }}:/work
run: |
--api_key ${{ secrets.TOKEN }} --build.event tag --files /work/bin/* --prerelease true
options: -e GITHUB_TOKEN=${{ secrets.TOKEN }} -e GITHUB_RELEASE_PRERELEASE=true -e GITHUB_RELEASE_FILES='/work/bin/*' -v ${{ github.workspace }}:/work
- name: Docker Hub Login
uses: docker/login-action@v2
with: