Skip to content

gateway, rust stable on debian #13

gateway, rust stable on debian

gateway, rust stable on debian #13

Workflow file for this run

name: Rust Stable
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 1"
push:
jobs:
build-n-push:
runs-on: ubuntu-latest
steps:
- name: Get date
run: echo "TODAY=$(date -u +'%Y%m%d')" >> $GITHUB_ENV
# - name: Lowercase Repo Name
# run: echo "REPO_NAME=$(echo -n "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v4
- name: Login
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: "{{defaultContext}}:images/rust-stable"
push: true
tags: |
ghcr.io/magicloud/rust-stable:${{ env.TODAY }}
ghcr.io/magicloud/rust-stable:latest