Buildah
ci / docker (push) Successful in 24s

This commit is contained in:
dswd committed 2026-04-19 23:46:22 +02:00
1 parent 479228e425
commit 828b942fff
1 file changed
+6 -8
+6 -8
View File
@@ -13,14 +13,12 @@ jobs:
run: |
sudo apt update -y
sudo apt install -y buildah
- name: Build and push with Buildah
- name: Build with Buildah
run: |
buildah bud -t my-image:latest .
- name: Login to Registry
run: |
buildah login --username ${{ vars.LOCAL_REPO_USER }} --password ${{ secrets.LOCAL_REPO_TOKEN }} git.dswd73.duckdns.org
- name: Push to Registry
run: |
buildah push my-image:latest docker://git.dswd73.duckdns.org/dswd/dyndns-updater:latest
-
name: Login to Docker Hub
uses: docker/login-action@v4
with:
registry: git.dswd73.duckdns.org
username: ${{ vars.LOCAL_REPO_USER }}
password: ${{ secrets.LOCAL_REPO_TOKEN }}