cd - removed tag actions, appears as if the release stage is tagging #23
Workflow file for this run
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: CI | |
on: | |
# Manually triggered testing | |
workflow_dispatch: | |
# Check every PR to main | |
pull_request: | |
branches: | |
- "main" | |
jobs: | |
docker-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build locally | |
uses: docker/[email protected] | |
with: | |
context: . | |
file: Dockerfile.ubuntu | |
platforms: linux/amd64 | |
push: false | |
load: true | |
tags: ${{ vars.DOCKERHUB_REPO }}/${{ secrets.DOCKERHUB_USERNAME }}:${{ github.sha }} | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
- name: Run all Tests using Docker | |
run: | | |
docker run \ | |
--interactive \ | |
--rm \ | |
--volume ./project-demo:/project \ | |
${{ vars.DOCKERHUB_REPO }}/${{ secrets.DOCKERHUB_USERNAME }}:${{ github.sha }} \ | |
ceedling test:all |