Skip to content

Edit: CI/CD GitHub plugin versions #18

Edit: CI/CD GitHub plugin versions

Edit: CI/CD GitHub plugin versions #18

Workflow file for this run

---
# https://docs.github.com/en/actions/publishing-packages/publishing-docker-images
name: Docker CI
on:
push:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
environment: Docker
steps:
# https://github.com/marketplace/actions/checkout
# - name: Build the Docker image
# uses: actions/[email protected]
# run: docker build . --file Dockerfile --tag raneto/raneto:latest-$(date +%s)
# https://github.com/marketplace/actions/docker-setup-buildx
- name: Set up Docker Buildx
uses: docker/[email protected]
# https://github.com/marketplace/actions/docker-login
# https://github.com/docker/login-action
- name: Login to Docker Hub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
# https://github.com/marketplace/actions/build-and-push-docker-images
- name: Build and push
uses: docker/[email protected]
with:
#context: .
push: true
tags: raneto/raneto:unstable