Skip to content

Commit

Permalink
rm ports
Browse files Browse the repository at this point in the history
  • Loading branch information
espenhgn committed Sep 20, 2024
1 parent 1e08b26 commit 15a696b
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/container_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ on:
push:
tags:
- "v*.*.*"


env:
TEST_TAG: ghcr.io/precimed/container_template:test

jobs:
docker:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -37,6 +40,19 @@ jobs:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and export to Docker
uses: docker/build-push-action@v6
with:
context: "{{defaultContext}}:docker"
load: true
tags: ${{ env.TEST_TAG }}
file:
./dockerfiles/container_template/Dockerfile
- name: Test
run: |
docker run --rm ${{ env.TEST_TAG }}
- name: Build and push
uses: docker/build-push-action@v6
with:
Expand Down

0 comments on commit 15a696b

Please sign in to comment.