test
Some checks failed
Build Docker Image / build (push) Failing after 19s

This commit is contained in:
Alex Wittern 2024-08-19 15:58:04 +02:00
parent 8aba43a3ed
commit 9dd2af49af

View file

@ -4,27 +4,24 @@ on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '^1.22.5'
# - uses: actions/setup-go@v5
# with:
# go-version: '^1.22.5'
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: git.wittern.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build the Docker image
run: |
go install github.com/a-h/templ/cmd/templ@latest
templ generate
docker build . --file Dockerfile --tag git.wittern.io/public/echo-todos
docker push git.wittern.io/public/echo-todos
# - name: Build the Docker image
# run: |
# go install github.com/a-h/templ/cmd/templ@latest
# templ generate
# docker build . --file Dockerfile --tag git.wittern.io/public/echo-todos
# docker push git.wittern.io/public/echo-todos