Skip to content

Bump axios from 0.21.4 to 1.6.0 in /backend (#297) #23

Bump axios from 0.21.4 to 1.6.0 in /backend (#297)

Bump axios from 0.21.4 to 1.6.0 in /backend (#297) #23

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