Skip to content

bump deps

bump deps #176

Workflow file for this run

name: Docker image
on:
push:
workflow_dispatch:
repository_dispatch:
jobs:
docker-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: docker build -f Dockerfile -t btwiuse/ufo:${{ github.sha }} .
name: docker build
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- run: docker push btwiuse/ufo:${{ github.sha }}
name: docker push
- run: |
docker tag btwiuse/ufo:${{ github.sha }} btwiuse/ufo
docker push btwiuse/ufo
if: github.ref == 'refs/heads/main'
name: docker push latest