Merge pull request #579 from NASA-IMPACT/feature/acc-statement #100
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and publish docker image | |
on: | |
push: | |
branches: | |
- develop | |
paths-ignore: | |
- "adr/**" | |
- "cypress/**" | |
- "docs/**" | |
- ".vscode/**" | |
permissions: | |
packages: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build development image | |
run: docker build -t ghcr.io/nasa-impact/nasa-apt-frontend:develop . | |
- name: Push docker image | |
run: docker push ghcr.io/nasa-impact/nasa-apt-frontend:develop |