Delete todo.txt #13
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" | |
on: | |
push: | |
branches: | |
- "master" | |
jobs: | |
release: | |
name: "🛠️ Build" | |
runs-on: ubuntu-latest | |
env: | |
SCCACHE_GHA_ENABLED: "true" | |
RUSTC_WRAPPER: "sccache" | |
steps: | |
- name: Code Checkout | |
uses: actions/checkout@v4 | |
- name: Run sccache-cache | |
uses: mozilla-actions/sccache-action@v0.0.7 | |
- name: Install libxmlsec1-dev (dep) | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install libxmlsec1-dev | |
- name: Build release binary | |
run: cargo build --release | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to GitHub container registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push | |
id: docker_build | |
uses: docker/build-push-action@v3 | |
with: | |
push: true | |
context: . | |
platforms: linux/amd64 | |
file: Dockerfile | |
tags: ghcr.io/antony1060/oidc-saml-demo:latest |