Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI

on:
push:
branches:
- master
- main
pull_request:

permissions:
contents: read

jobs:
docker-checks:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Build html2x image
run: docker build -f "${{ github.workspace }}/html2x/Dockerfile" -t test-html2x "${{ github.workspace }}/html2x"

- name: Build logo image
run: docker build -f "${{ github.workspace }}/logo/Dockerfile" -t test-logo "${{ github.workspace }}/logo"

- name: Run html2x container
run: docker run --name test-html2x-container test-html2x

- name: Run logo container
run: docker run --name test-logo-container -v "${{ github.workspace }}/logo:/data" test-logo

- name: Print container logs on failure
if: failure()
run: |
docker ps -a || true
docker inspect test-html2x-container > /dev/null 2>&1 && docker logs test-html2x-container || true
docker inspect test-logo-container > /dev/null 2>&1 && docker logs test-logo-container || true
28 changes: 0 additions & 28 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.com/donnels/donnels.github.io.svg?branch=master)](https://travis-ci.com/donnels/donnels.github.io)
[![CI](https://github.com/donnels/donnels.github.io/actions/workflows/ci.yml/badge.svg)](https://github.com/donnels/donnels.github.io/actions/workflows/ci.yml)
# Sean Donnellan's CV
A Jekyll based CV page

Expand Down
4 changes: 3 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ skills:
- Cisco
- IBM Cloud
- IBM
- travis
- docker
- containers
- actions
- github
- Mentor
- Teacher
- Project management
Expand Down
2 changes: 1 addition & 1 deletion html2x/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# chromium has a headless mode that I'm experimenting with now and can expose a debug port OR print to pdf
# netbase was require by phantomjs (I think)

FROM debian:stable-slim as base
FROM debian:bookworm-slim as base
#install the base packages that change infrequently
RUN mkdir /data \
&& DEBIAN_FRONTEND=noninteractive apt-get update \
Expand Down
Loading