добавил автосборку
This commit is contained in:
parent
a43b09fa09
commit
930c9849b7
|
|
@ -8,8 +8,14 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2 # Required to mount the Github Workspace to a volume
|
||||
- uses: https://github.com/addnab/docker-run-action@v3
|
||||
- name: Login to Docker Hub
|
||||
uses: https://github.com/docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
run: docker build ./ -t platformer
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
registry: gitea.webart-tech.ru
|
||||
- name: Build and push
|
||||
uses: https://github.com/docker/build-push-action@v5
|
||||
with:
|
||||
push: true
|
||||
tags: platformer:${{ gitea.sha }}
|
||||
Loading…
Reference in New Issue