mirror of
https://github.com/Radiquum/AniX.git
synced 2025-09-07 15:03:53 +05:00
CI: update workflows
Some checks failed
Build and Publish 'anix-api-prox' to Docker Hub / publish (push) Has been cancelled
Build and Publish 'anix-player-parsers' to Docker Hub / publish (push) Has been cancelled
Build and Publish 'anix' to Docker Hub / publish (push) Has been cancelled
Some checks failed
Build and Publish 'anix-api-prox' to Docker Hub / publish (push) Has been cancelled
Build and Publish 'anix-player-parsers' to Docker Hub / publish (push) Has been cancelled
Build and Publish 'anix' to Docker Hub / publish (push) Has been cancelled
This commit is contained in:
parent
1a1b548d39
commit
30285e84c6
3 changed files with 22 additions and 9 deletions
8
.github/workflows/docker-anix-api-prox.yml
vendored
8
.github/workflows/docker-anix-api-prox.yml
vendored
|
@ -17,11 +17,15 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Dynamically set 'tag' environment variable
|
||||
run: echo "tag=$(date +'%d-%m-%Y')" >> $GITHUB_ENV
|
||||
- name: Build Image
|
||||
run: |
|
||||
cd ./api-prox
|
||||
docker build . -t radiquum/anix-api-prox:dev
|
||||
docker build . -t radiquum/anix-api-prox:latest
|
||||
docker tag radiquum/anix-api-prox:latest radiquum/anix-api-prox:${{ env.tag }}
|
||||
- name: Publish Image
|
||||
run: |
|
||||
docker login -u radiquum -p ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
docker push radiquum/anix-api-prox:dev
|
||||
docker push radiquum/anix-api-prox:latest
|
||||
docker push radiquum/anix-api-prox:${{ env.tag }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue