workflow: added docker login
Some checks failed
/ push (push) Has been cancelled

This commit is contained in:
Tigor Hutasuhut 2024-05-12 11:26:25 +07:00
parent 5b01db37c8
commit 68fced6618

View file

@ -10,6 +10,12 @@ jobs:
runs-on: docker
steps:
- name: Login to Self Hosted Docker Registry
uses: docker/login-action@v3
with:
registry: git.tigor.web.id
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: actions/checkout@v4
- run: echo "Building version ${{ github.ref_name }}"
- run: docker build -t git.tigor.web.id/tigor/redmage:${{ github.ref_name }} -t git.tigor.web.id/tigor/redmage:latest .