Skip to content

chore(deps): update dependency urllib3 to v1.26.18 [security] (#18) #22

chore(deps): update dependency urllib3 to v1.26.18 [security] (#18)

chore(deps): update dependency urllib3 to v1.26.18 [security] (#18) #22

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 }}