Skip to content

Commit

Permalink
add a test using the std build/push
Browse files Browse the repository at this point in the history
  • Loading branch information
gonuke committed Aug 5, 2023
1 parent ef26e40 commit a3bd80f
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/test_simple_build_push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Test the permissions for a simple build/push

on:
# allows us to run workflows manually
workflow_dispatch:
pull_request:

jobs:
build-dependency-img:
runs-on: ubuntu-latest
permissions:
packages: write

strategy:
matrix:
ubuntu_versions : [
22.04,
]
compiler : [
gcc,
]
hdf5_versions : [
1.10.4,
]
moab_versions : [
5.3.0,
]

name: Installing Dependencies
steps:
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Checkout repository
uses: actions/checkout@v3

- name: Installing Dependencies in Docker image & Testing DAGMC
id: build
uses: docker/build-push-action@v4
with:
context: CI/
target: base
tags: ghcr.io/${{ github.repository_owner }}/dagmc-ci-ubuntu-${{ matrix.ubuntu_versions }}-${{ matrix.compiler}}-ext-hdf5_${{ matrix.hdf5_versions}}-moab_${{ matrix.moab_versions }}/base:test

0 comments on commit a3bd80f

Please sign in to comment.