From eaeaa2211b2eba29a1dcdd2249d377cf0b34748a Mon Sep 17 00:00:00 2001 From: samir-tahir Date: Fri, 22 Mar 2024 10:01:32 +0000 Subject: [PATCH] gc actions --- .github/workflows/build-and-push.yaml | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/build-and-push.yaml diff --git a/.github/workflows/build-and-push.yaml b/.github/workflows/build-and-push.yaml new file mode 100644 index 0000000..fb340fb --- /dev/null +++ b/.github/workflows/build-and-push.yaml @@ -0,0 +1,30 @@ +name: Build and Push + +on: + push: + branches: + - 'main' + - 'feat/gh-actions' + +jobs: + docker: + runs-on: ubuntu-latest + steps: + - + name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - + name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - + name: Build and push + uses: docker/build-push-action@v5 + with: + push: true + tags: samirtahir91076/secret-sync-operator:latest