Skip to content

Commit

Permalink
Merge pull request #20 from AplinkosMinisterija/remove-github-actions…
Browse files Browse the repository at this point in the history
…-warnings

Remove GitHub actions warnings
  • Loading branch information
vycius authored Jul 18, 2023
2 parents e9bb98a + 318babd commit f8c7a67
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ on:
branches: [ main ]
pull_request:

permissions: { }

jobs:
build-test:
name: Build and test
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read

services:
postgres:
Expand Down Expand Up @@ -49,10 +53,17 @@ jobs:

validate-docker-build:
name: Validate if docker image builds
uses: AplinkosMinisterija/reusable-workflows/.github/workflows/docker-build-push.yml@main
with:
docker-image: ghcr.io/aplinkosministerija/example
environment: test
runs-on: ubuntu-latest
latest-tag: true
push: false
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
packages: read
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Build & tag docker image
uses: AplinkosMinisterija/reusable-workflows/.github/actions/docker-build-tag-push@main
with:
environment: test
push: false

0 comments on commit f8c7a67

Please sign in to comment.