Aplicando as mudanças da branch Google-sheets: #36
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
#Triggering an action | |
name: Docker Image CI for GHCR | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build_and_publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build and push the image | |
run: | | |
docker login -u oesterd --password ${{ secrets.GHCR_PAT}} ghcr.io | |
docker build . -t ghcr.io/oesterd/dash-la:latest | |
docker push ghcr.io/oesterd/dash-la:latest |