From da32f6a95f7263c3b92d1b944c476a4911cfb3dc Mon Sep 17 00:00:00 2001 From: Mariusz Bialonczyk Date: Mon, 25 Nov 2024 15:33:03 +0100 Subject: [PATCH] ci: docker --- .github/workflows/docker-image.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/docker-image.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 0000000..32106d2 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,27 @@ +name: Docker Image CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + buildx: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Build and push + uses: docker/build-push-action@v6 + with: + tags: manio/aa-proxy-rs:latest + allow: security.insecure + outputs: build + - name: Upload a Build Artifact + uses: actions/upload-artifact@v4.4.3 + with: + name: aa-proxy-rs + path: ./build