1 parent
3d041b63ca
commit
479228e425
1 file changed
+7
-16
@@ -7,10 +7,13 @@ jobs:
|
|||||||
docker:
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
- name: Checkout
|
||||||
name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Build with Buildah
|
- name: Install Buildah
|
||||||
|
run: |
|
||||||
|
sudo apt update -y
|
||||||
|
sudo apt install -y buildah
|
||||||
|
- name: Build and push with Buildah
|
||||||
run: |
|
run: |
|
||||||
buildah bud -t my-image:latest .
|
buildah bud -t my-image:latest .
|
||||||
buildah push my-image:latest docker://git.dswd73.duckdns.org/dswd/dyndns-updater:latest
|
buildah push my-image:latest docker://git.dswd73.duckdns.org/dswd/dyndns-updater:latest
|
||||||
@@ -20,16 +23,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
registry: git.dswd73.duckdns.org
|
registry: git.dswd73.duckdns.org
|
||||||
username: ${{ vars.LOCAL_REPO_USER }}
|
username: ${{ vars.LOCAL_REPO_USER }}
|
||||||
password: ${{ secrets.LOCAL_REPO_TOKEN }}
|
password: ${{ secrets.LOCAL_REPO_TOKEN }}
|
||||||
-
|
|
||||||
name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v4
|
|
||||||
-
|
|
||||||
name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v4
|
|
||||||
-
|
|
||||||
name: Build and push
|
|
||||||
uses: docker/build-push-action@v7
|
|
||||||
with:
|
|
||||||
push: true
|
|
||||||
tags: git.dswd73.duckdns.org/dswd/dyndns-updater:latest
|
|
||||||
Reference in new issue
Block a user