Compare commits

...

7 Commits

Author SHA1 Message Date
844ab02299 Merge pull request 'Fix registry where image is finally pushed' (#4) from fix-push into main
Some checks failed
Build docker image / build-static-assets (push) Failing after 12m37s
Reviewed-on: #4
2024-11-02 12:46:12 +00:00
3af11b9dc7 Fix registry where image is finally pushed
All checks were successful
Build docker image / build-static-assets (pull_request) Successful in 21m25s
2024-11-02 13:24:23 +01:00
f31abd5610 Merge pull request 'Push image to Dockerhub instead of the private registry' (#3) from push-dockerhub into main
Some checks failed
Build docker image / build-static-assets (push) Failing after 12m25s
Reviewed-on: #3
2024-11-02 09:20:01 +00:00
8ede8060f3 Push image to Dockerhub instead of the private registry
All checks were successful
Build docker image / build-static-assets (pull_request) Successful in 16m32s
2024-11-02 10:03:04 +01:00
38d50a5c3d Configure Renovate (#2)
Some checks failed
Build docker image / build-static-assets (push) Failing after 11m10s
2024-11-02 08:07:54 +00:00
Renovate Bot
5c3417106a Add renovate.json
All checks were successful
Build docker image / build-static-assets (pull_request) Successful in 1h10m17s
2024-11-02 01:05:28 +00:00
e86db7d94e Merge pull request 'Define Dockerfile' (#1) from docker-image into main
Some checks failed
Build docker image / build-static-assets (push) Failing after 41m1s
Reviewed-on: #1
2024-11-01 19:50:02 +00:00
2 changed files with 7 additions and 5 deletions

View File

@ -13,18 +13,17 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- name: Login to the private Docker registry - name: Login to Docker Hub
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ secrets.PRIVATE_REGISTRY_HOST }} username: ${{ secrets.DOCKERHUB_USERNAME }}
username: ${{ secrets.PRIVATE_REGISTRY_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }}
password: ${{ secrets.PRIVATE_REGISTRY_TOKEN }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
context: . context: .
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: | tags: |
${{ secrets.PRIVATE_REGISTRY_HOST }}/${{ env.GITHUB_REPOSITORY }}:latest ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.GITHUB_REPOSITORY }}:latest
cache-from: type=registry,ref=user/app:latest cache-from: type=registry,ref=user/app:latest
cache-to: type=inline cache-to: type=inline

3
renovate.json Normal file
View File

@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}