добавил автосборку
This commit is contained in:
parent
a43b09fa09
commit
930c9849b7
|
|
@ -8,8 +8,14 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2 # Required to mount the Github Workspace to a volume
|
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:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
run: docker build ./ -t platformer
|
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