Compare commits
1 Commits
5d0194264a
...
d5381dcc4b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d5381dcc4b |
@@ -41,23 +41,24 @@ jobs:
|
|||||||
build-docker-image:
|
build-docker-image:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Update package list
|
|
||||||
run: sudo apt-get update
|
|
||||||
|
|
||||||
- name: Setup Podman
|
|
||||||
run: sudo apt-get -y install podman
|
|
||||||
|
|
||||||
- name: verify Podman installation
|
|
||||||
run: podman -v
|
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Login to Docker registry
|
- name: Set up Docker Buildx
|
||||||
run: podman login --tls-verify=false gitea:3000 --username ${{ github.actor }} --password ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Build image
|
- name: Log in to registry
|
||||||
run: podman build .
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: ${{ vars.INSTANCE_URL }}
|
||||||
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|
||||||
|
|
||||||
|
- name: Build and push image
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: ${{ GITHUB_REPOSITORY }}:${{ GITHUB_REF }}
|
||||||
|
|
||||||
# type-check:
|
# type-check:
|
||||||
# runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -9,8 +9,8 @@
|
|||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"moduleResolution": "bundler"
|
"moduleResolution": "bundler",
|
||||||
}
|
},
|
||||||
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
|
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
|
||||||
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
|
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user