archean-server-pelican/.gitea/workflows/deploy.yaml
tueem ded1e72412
All checks were successful
Deploy / BuildandPush-Docker (push) Successful in 5m29s
use docker action
2024-10-19 00:20:05 +02:00

24 lines
605 B
YAML

name: Deploy
on:
push:
branches:
- master
jobs:
BuildandPush-Docker:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: ${{vars.DOCKER_TAG}}