mirror of
https://forgejo.merr.is/annika/isl-api.git
synced 2025-12-13 06:24:45 -05:00
Trying To Add The Build Step
This commit is contained in:
parent
647ce56233
commit
75ad85bae9
1 changed files with 10 additions and 3 deletions
|
|
@ -14,14 +14,21 @@ jobs:
|
||||||
- name: Install docker
|
- name: Install docker
|
||||||
shell: /bin/ash -e {0}
|
shell: /bin/ash -e {0}
|
||||||
run: apk add --update docker git
|
run: apk add --update docker git
|
||||||
- name: Print Some Debugging Info
|
# - name: Print Some Debugging Info
|
||||||
shell: /bin/ash -e {0}
|
# shell: /bin/ash -e {0}
|
||||||
run: echo ${{ github.repository }}
|
# run: echo ${{ github.repository }}
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: Login to docker repo
|
- name: Login to docker repo
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: "forgejo.merr.is"
|
registry: "forgejo.merr.is"
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.actions_token }}
|
password: ${{ secrets.actions_token }}
|
||||||
|
- name: Build and push the image
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: ${{ github.server_url }}/${{ github.repository }}/${{ github.run_number }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue