From 22a77e051ae5ff3c6288b7be7a05e8b576ed7bea Mon Sep 17 00:00:00 2001 From: Giorgia Amici Date: Wed, 10 Jul 2024 09:16:11 +0100 Subject: [PATCH] AIRSHIP-3913 move to GHA --- .github/rvu/labels.yaml | 1 + .github/workflows/push.yaml | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .github/rvu/labels.yaml create mode 100644 .github/workflows/push.yaml diff --git a/.github/rvu/labels.yaml b/.github/rvu/labels.yaml new file mode 100644 index 0000000..7b192d6 --- /dev/null +++ b/.github/rvu/labels.yaml @@ -0,0 +1 @@ +service.rvu.co.uk/brand: airship diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml new file mode 100644 index 0000000..5dd5b10 --- /dev/null +++ b/.github/workflows/push.yaml @@ -0,0 +1,27 @@ +name: push +on: push +permissions: + contents: read + id-token: write +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Login to Quay.io + uses: docker/login-action@v3 + with: + registry: quay.io + username: ${{ secrets.QUAY_USERNAME }} + password: ${{ secrets.QUAY_PASSWORD }} + - id: meta + uses: docker/metadata-action@v5 + with: + images: quay.io/uswitch/node-problem-detector + tags: type=sha,prefix=,format=long + - uses: docker/build-push-action@v6 + with: + context: . + labels: ${{ steps.meta.outputs.labels }} + push: true + tags: ${{ steps.meta.outputs.tags }} \ No newline at end of file