diff --git a/.gitea/workflows/docker.yaml b/.gitea/workflows/docker.yaml index 24c9658..a5bd006 100644 --- a/.gitea/workflows/docker.yaml +++ b/.gitea/workflows/docker.yaml @@ -9,26 +9,14 @@ jobs: push_to_registry: name: Push docker image to container registry runs-on: ubuntu-latest + defaults: + run: + working-directory: /repo steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v1 - - name: Docker meta - id: meta - uses: docker/metadata-action@v4 - with: - images: name/app - - - name: Set up QEMU - uses: docker/setup-qemu-action@v1 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - - name: Build and push - uses: docker/build-push-action@v2 - with: - context: . - platforms: linux/amd64 - push: true - tags: ${{ steps.meta.outputs.tags }} + - name: Deploy + run: | + docker build -t kdeppe/dotfiles:latest . + docker push kdeppe/dotfiles