finalize CI pipeline
All checks were successful
Build Docker Image / build (push) Successful in 5m40s
All checks were successful
Build Docker Image / build (push) Successful in 5m40s
This commit is contained in:
parent
9dd2af49af
commit
98d0db4ffa
1 changed files with 9 additions and 9 deletions
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
|
@ -10,18 +10,18 @@ jobs:
|
|||
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:latest
|
||||
docker push git.wittern.io/public/echo-todos
|
||||
|
|
Loading…
Reference in a new issue