All checks were successful
Build and push image for doorman / docker (push) Successful in 29s
18 lines
597 B
YAML
18 lines
597 B
YAML
name: Build and push image for doorman
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
docker:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
name: Check out code
|
|
|
|
- name: Build Docker image
|
|
run: docker build . -t gitea.chromart.dedyn.io/martin/doorman:v1 -t gitea.chromart.dedyn.io/martin/doorman:latest
|
|
|
|
- name: Login and Push Docker image
|
|
run: echo -n '${{ secrets.PASSWORD }}' | docker login gitea.chromart.dedyn.io --username ${{ secrets.USERNAME }} --password-stdin && docker image push --all-tags gitea.chromart.dedyn.io/martin/doorman |