publish stps-sender #1
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 Publish Docker containers | |
on: | |
push: | |
branches: | |
- s0me0ne/overhaul | |
jobs: | |
stps-sender: | |
name: Build docker image | |
runs-on: ubuntu-latest | |
environment: main_n_tags | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_PASSWORD }} | |
- name: Build Docker image | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
file: ./utils/dockerfiles/Dockerfile.sender-any | |
push: true | |
tags: | | |
docker.io/paritypr/stps-sender:any-latest | |
docker.io/paritypr/stps-sender:any-${{ github.sha }} |