Files
InfantrySkillCalculator/.gitea/workflows/build_push.yaml
MaxJa4 e94d1431f3 Revert "Use docker dns again"
This reverts commit 0074ac2541.
2024-02-11 22:54:09 +01:00

28 lines
681 B
YAML

name: Build and Push Docker Image
run-name: Docker image is being constructed 🚀
on:
push:
branches:
- master
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Log in to Gitea Docker Registry
uses: docker/login-action@v3
with:
registry: gitea.maximilian.link
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: 172.24.0.2:3000/maxi/isc:dev