1 parent
479228e425
commit
828b942fff
1 file changed
+6
-8
@@ -13,14 +13,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt update -y
|
sudo apt update -y
|
||||||
sudo apt install -y buildah
|
sudo apt install -y buildah
|
||||||
- name: Build and push with Buildah
|
- name: Build with Buildah
|
||||||
run: |
|
run: |
|
||||||
buildah bud -t my-image:latest .
|
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
|
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 }}
|
|
||||||
Reference in new issue
Block a user