diff --git a/.gitea/workflows/docker.yaml b/.gitea/workflows/docker.yaml index 2cd2d70..0781d8a 100644 --- a/.gitea/workflows/docker.yaml +++ b/.gitea/workflows/docker.yaml @@ -7,10 +7,13 @@ jobs: docker: runs-on: ubuntu-latest steps: - - - name: Checkout + - name: Checkout 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: | buildah bud -t my-image:latest . buildah push my-image:latest docker://git.dswd73.duckdns.org/dswd/dyndns-updater:latest @@ -20,16 +23,4 @@ jobs: with: registry: git.dswd73.duckdns.org username: ${{ vars.LOCAL_REPO_USER }} - 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 \ No newline at end of file + password: ${{ secrets.LOCAL_REPO_TOKEN }} \ No newline at end of file