chore(deps): update dependency urllib3 to v1.26.18 [security] (#18) #22
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 Deploy Docker | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
Deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@master | |
# - name: Build and Push Docker Image | |
# uses: docker/[email protected] | |
# with: | |
# push: true | |
# tags: | | |
# ghcr.io/${{ github.repository }}:${{ github.sha }} | |
# ghcr.io/${{ github.repository }}:${{ github.sha }} | |
- name: Build Container | |
run: docker build . -t ghcr.io/${{ github.repository }}:${{ github.sha }} | |
- name: Scan container for issues | |
uses: Azure/[email protected] | |
with: | |
image-name: ghcr.io/${{ github.repository }}:${{ github.sha }} | |
- name: Login to GitHub Container Registry | |
uses: docker/[email protected] | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.ACTIONS_PAT }} | |
- name: Push Container | |
run: docker push ghcr.io/${{ github.repository }}:${{ github.sha }} |