Bump axios from 0.21.4 to 1.6.0 in /backend (#297) #23
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: Create and publish Abacus backend | |
on: | |
push: | |
branches: ['master'] | |
paths: | |
- 'backend/**' | |
jobs: | |
push_to_registry: | |
runs-on: ubuntu-latest | |
name: Build and Push Docker image to Github Packages | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v2 | |
- name: Login to GitHub registry | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
registry: ghcr.io | |
- name: Login to ghcr.io | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
registry: ghcr.io | |
- name: Build and push image | |
uses: docker/build-push-action@v2 | |
with: | |
context: backend | |
file: backend/Dockerfile.prod | |
push: true | |
pull: true | |
tags: ghcr.io/acm-mu/abacus/backend |