образ для сборки

This commit is contained in:
artem 2024-01-08 18:23:14 +03:00
parent 4897ad01da
commit ed5a4c712b
1 changed files with 14 additions and 16 deletions

View File

@ -6,20 +6,18 @@ jobs:
build_and_push: build_and_push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: docker:23.0.6-dind image: catthehacker/ubuntu:act-latest
steps: steps:
- name: login - name: Checkout
run: docker build ./ -t platformer uses: actions/checkout@v2 # Required to mount the Github Workspace to a volume
# - name: Checkout - name: Login to Docker Hub
# uses: actions/checkout@v2 # Required to mount the Github Workspace to a volume uses: https://github.com/docker/login-action@v3
# - name: Login to Docker Hub with:
# uses: https://github.com/docker/login-action@v3 username: ${{ secrets.DOCKER_USERNAME }}
# with: password: ${{ secrets.DOCKER_PASSWORD }}
# username: ${{ secrets.DOCKER_USERNAME }} registry: gitea.webart-tech.ru
# password: ${{ secrets.DOCKER_PASSWORD }} - name: Build and push
# registry: gitea.webart-tech.ru uses: https://github.com/docker/build-push-action@v5
# - name: Build and push with:
# uses: https://github.com/docker/build-push-action@v5 push: true
# with: tags: platformer:${{ gitea.sha }}
# push: true
# tags: platformer:${{ gitea.sha }}