Skip to content

Merge pull request #4 from ncsuarc/IsaacTrost-patch-1 #14

Merge pull request #4 from ncsuarc/IsaacTrost-patch-1

Merge pull request #4 from ncsuarc/IsaacTrost-patch-1 #14

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ master ]
jobs:
website:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Authenticate with Github
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push image
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: |
ghcr.io/ncsuarc/website:latest
ghcr.io/ncsuarc/website:${{ github.sha }}