diff --git a/.github/workflows/build_and_push.yaml b/.github/workflows/build-and-push.yaml similarity index 100% rename from .github/workflows/build_and_push.yaml rename to .github/workflows/build-and-push.yaml diff --git a/.github/workflows/build-image-test.yaml b/.github/workflows/build-image-test.yaml new file mode 100644 index 000000000..62df95c1c --- /dev/null +++ b/.github/workflows/build-image-test.yaml @@ -0,0 +1,19 @@ +name: build docker image + +on: [pull_request] + +jobs: + pull_request: + runs-on: ubuntu-latest + env: + Docker_Repository: ${{ secrets.ACR_URL }}/${{ github.event.repository.name }}:${{ github.ref_name }} + steps: + - name: Check out Project Git repository + uses: actions/checkout@v4 + + - name: downcase repository + run: | + echo "Docker_Repository=${Docker_Repository,,}" >>${GITHUB_ENV} + + - name: Build Docker Image + run: docker build . diff --git a/.github/workflows/jira-integration.yaml b/.github/workflows/jira-integration.yaml new file mode 100644 index 000000000..ae5bf5d6e --- /dev/null +++ b/.github/workflows/jira-integration.yaml @@ -0,0 +1,14 @@ +name: Jira Integration +on: + pull_request: + types: [opened, edited] + +permissions: + statuses: write + pull-requests: write + +jobs: + jira-validation: + runs-on: ubuntu-latest + steps: + - uses: mapcolonies/javascript-github-actions/actions/jira-integration@jira-integration-v1.0.1 diff --git a/Dockerfile b/Dockerfile index c255f027a..467cac301 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,7 @@ # # ================================================================= -FROM python:3.8-slim-buster +FROM python:3.8-slim LABEL maintainer="massimods@met.no,aheimsbakk@met.no,tommkralidis@gmail.com" RUN apt-get update && apt-get install --yes \