Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
205f664ac0 |
@@ -6,7 +6,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@main
|
uses: actions/checkout@main
|
||||||
@@ -16,13 +16,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Login to Gitea Container Registry
|
- name: Login to Gitea Container Registry
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.GITEA_TOKEN }}" | docker login -u "${{ github.actor }}" --password-stdin gitea.scu.si
|
echo "$GITEA_TOKEN" | docker login -u "$GITEA_ACTOR" --password-stdin gitea.scu.si
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
run: |
|
run: |
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/amd64,linux/arm64 \
|
--platform linux/amd64,linux/arm64 \
|
||||||
--push \
|
--push \
|
||||||
-t gitea.scu.si/${{ github.repository }}/mdhost:latest \
|
-t gitea.scu.si/${GITEA_REPOSITORY}/mdhost:latest \
|
||||||
-t gitea.scu.si/${{ github.repository }}/mdhost:${{ github.ref_name }} \
|
-t gitea.scu.si/${GITEA_REPOSITORY}/mdhost:$GITEA_REF_NAME \
|
||||||
.
|
.
|
||||||
|
|||||||
Reference in New Issue
Block a user