From 56109f3cf75f33e264a041daa8cd1d0a2ac11db2 Mon Sep 17 00:00:00 2001 From: Dan Date: Thu, 17 Nov 2022 15:00:08 -0500 Subject: [PATCH] removing unrelated github action changes. --- .github/workflows/backend_tests.yml | 3 +- .github/workflows/create-docker-action.yml | 59 ---------------------- 2 files changed, 1 insertion(+), 61 deletions(-) delete mode 100644 .github/workflows/create-docker-action.yml diff --git a/.github/workflows/backend_tests.yml b/.github/workflows/backend_tests.yml index 209496eb..d80dd8f3 100644 --- a/.github/workflows/backend_tests.yml +++ b/.github/workflows/backend_tests.yml @@ -1,8 +1,7 @@ name: Tests on: - - push: - branches: [ 'main' ] # just for testing for a bit. + - push - pull_request defaults: diff --git a/.github/workflows/create-docker-action.yml b/.github/workflows/create-docker-action.yml deleted file mode 100644 index 5acb7fba..00000000 --- a/.github/workflows/create-docker-action.yml +++ /dev/null @@ -1,59 +0,0 @@ -name: run_ci - -on: - workflow_dispatch: - push: - branches: ['feature/releases'] # just for testing for a bit. - tags: - - 'v*' - pull_request: - branches: - - 'main' - release: - types: [published] - -env: - REGISTRY: ghcr.io - BACKEND_IMAGE: spiffworkflow-backend - -jobs: - build-and-push-backend-docker: - runs-on: ubuntu-latest - - permissions: - contents: read - packages: write - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Docker meta - id: meta - uses: docker/metadata-action@v4 - with: - images: | - sartography/spiffworkflow-backend - - - - name: Login to DockerHub - if: github.event_name != 'pull_request' - uses: docker/login-action@v2 - with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - # Setting up Docker Buildx with docker-container driver is required - # at the moment to be able to use a subdirectory with Git context - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - - name: Build and push Backend Docker Image - uses: docker/build-push-action@v3 - with: - context: "{{defaultContext}}:spiffworkflow-backend" - push: true - tags: sartography/spiffworkflow-backend:latest - labels: ${{ steps.meta.outputs.labels }} -