convert github actions workflow to forgejo actions
Some checks are pending
Build, test and push / lib_clippy (push) Waiting to run
Build, test and push / push_server (push) Blocked by required conditions
Build, test and push / build_server_docker_image (push) Waiting to run
Build, test and push / server_test (push) Waiting to run
Build, test and push / lib_test (push) Waiting to run
Build, test and push / server_clippy (push) Waiting to run
Some checks are pending
Build, test and push / lib_clippy (push) Waiting to run
Build, test and push / push_server (push) Blocked by required conditions
Build, test and push / build_server_docker_image (push) Waiting to run
Build, test and push / server_test (push) Waiting to run
Build, test and push / lib_test (push) Waiting to run
Build, test and push / server_clippy (push) Waiting to run
This commit is contained in:
parent
7099b66b44
commit
1f050a8062
1 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,7 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
- name: Build server image
|
||||
env:
|
||||
IMAGE_TAG: ghcr.io/t-x-t/oxide/server:${{ github.ref_name }}
|
||||
IMAGE_TAG: git.thetxt.io/thetxt/oxide/server:${{ github.ref_name }}
|
||||
run: |
|
||||
docker build -t $IMAGE_TAG .
|
||||
docker save -o server_image.tar $IMAGE_TAG
|
||||
|
@ -84,10 +84,10 @@ jobs:
|
|||
- server_clippy
|
||||
- lib_clippy
|
||||
steps:
|
||||
- name: Login to GitHub Packages
|
||||
- name: Login to forgejo registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
registry: git.thetxt.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Download backend image
|
||||
|
@ -96,7 +96,7 @@ jobs:
|
|||
name: server_image
|
||||
- name: Push server image
|
||||
env:
|
||||
IMAGE_TAG: ghcr.io/t-x-t/oxide/server:${{ github.ref_name }}
|
||||
IMAGE_TAG: git.thetxt.io/thetxt/oxide/server:${{ github.ref_name }}
|
||||
run: |
|
||||
docker load -i server_image.tar
|
||||
docker push $IMAGE_TAG
|
Loading…
Add table
Add a link
Reference in a new issue