Bump pytorch-lightning from 1.5.4 to 1.6.0 (#16) #1
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: Push Package | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- v* | |
env: | |
IMAGE_NAME: app | |
jobs: | |
push: | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
contents: read | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build Docker Compose stack | |
run: docker-compose up -d --build | |
- name: Check for running containers | |
run: docker ps -a | |
- name: Log in to registry | |
# This is where you will update the PAT to GITHUB_TOKEN | |
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin | |
- name: Push image | |
run: docker-compose push |